If God was a programmer...

I was bored and wondered what Creation would look like as code (sudo-code of course).



 1: //Day 1
 2: 
 3: Earth _myCreation = new Earth();
 4: 
 5: Water formless = new Water();
 6: 
 7: _myCreation.Add(formless); // Need to fill the space for now.
 8: 
 9: Light day = new Light();
10: Darkness night = new Darkness();
11: 
12: _myCreation.Add(day);
13: _myCreation.Add(night);
14: 
15: sleep(8640000); // wait until tomorrow
16: 
17: //Day 2
18: 
19: Sky heavens = new Sky(); // This will separate the water from the sky above
20: heavens.Location = Locations.Above; 
21: 
22: _myCreation[formless].Add(heavens);
23: 
24: sleep(8640000); // wait until tomorrow
25: 
26: //Day 3
27: 
28: Land dryGround = new Land();
29: 
30: _myCreation[formless].Add(dryGround); //To separate the waters
31: 
32: _myCreation[formless].Name = "seas"; //Thought of a better name for this
33: 
34: Vegetation plants = new Vegetation();
35: 
36: _myCreation[seas].dryGround.Add(plants);
37: 
38: sleep(8640000); // wait until tomorrow
39: 
40: //Day 4
41: 
42: Sun dayLight = new Sun();
43: Moon nightLight = new Moon();
44: Stars heavenlySigns = new Stars();
45: 
46: _myCreation[day].Add(dayLight);
47: 
48: _myCreation[night].Add(nightLight);
49: _myCreation[night].Add(heavenlySigns);
50: 
51: sleep(8640000); // wait until tomorrow
52: 
53: //Day 5
54: 
55: SkyCreatures birds = new SkyCreatures();
56: 
57: _myCreation[seas].heavens.Add(birds);
58: birds.Multiply();
59: 
60: SeaCreatures fish = new SeaCreatures();
61: 
62: _myCreation[seas].Add(fish);
63: fish.Multiply();
64: 
65: sleep(8640000); // wait until tomorrow
66: 
67: //Day 6
68: 
69: LandCreatures livestock = new LandCreatures();
70: 
71: _myCreation[seas].dryGround.Add(livestock);
72: 
73: //Here's the best part:
74: 
75: Mankind humans = God.CloneLikeness();
76: 
77: _myCreation.Add(humans);
78: 
79: sleep(8640000); // wait until tomorrow
80: 
81: //Day 7
82: 
83: God.SetAwayStatus ("Resting");

1 comments:

Linnea said...

i heart you

Post a Comment