Created
March 28, 2012 11:37
-
-
Save cafreamoroso/2225560 to your computer and use it in GitHub Desktop.
Universe Code -- Code i used for creating this Universe, should refactor it one day.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Changelog | |
1.0:: Quick created after spawning on the totally uncertainty. | |
1.1:: Added punishment, 1.0 didn't have anything like that so it went to shit pretty soon. | |
TODO: | |
1.0:: Refactor whole thing to not spawn so many universes, they are basically the same. | |
//START CODE /// | |
If me.state?unknown || me.aware?unknown (Self::whoAmI); | |
class Me { | |
aware; | |
state; | |
location; | |
whoAMI() { | |
while Self::state == unknown do { | |
Self::tryToKnowWhoIAm(); | |
} | |
} | |
tryToKnowWhoIAm() { | |
new Universe::NormalLaw->set->God->Self; | |
Universe.genesis(7) | |
while Universe.exists() { | |
Self::getInsight->Universe.lifeForms.life { | |
if Self::aware->exit(); | |
if Universe.lifeForms.rebel == true { | |
Universe::AlternateLaw->set->punishment(Universe.lifeforms.alert:: 'Next time will be worst') | |
} | |
} | |
} | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment