I totally stole this off of someone’s status on fb, but I thought it was too wonderful not to share.
This here would be the source code for life, for the computer science nerds out there. Enjoy.
private Life live(){
Life life=new Life();
life.begin();
int age=0;
while(age<6){
play();
age++;
}
while(age<18){
learn();
age++;
}
Exam exam=new Exam(“College”);
if(exam.test()==Exam.PASS){
College college=new College();
while(!college.graduated()){
learn();
}
}
while(isAlive())(
work();
liveYourOwnLife();
)
die();
life.end();
return life;
}
Advertisement