Feed on
Posts
Comments

Daily Archive for September 27th, 2009

init Life();

Cum ar arăta viaţa mea descrisă în câteva linii de cod :
init Life();  // $dead=FALSE; $money=0; $health=100;
$Andrei= give_birth(‘Andrei’;) ;
$liking_school=0;
while (!$dead)
{
$day++;
$year=intval($day/365);
if ($year>=7) go_to_school($Andrei);
if ($liking_school>0) $Andrei['happy']++;
else
{
$Andrei['happy']= -10;
$Andrei['sad']++;
scream(“WAAAAAAAAAH !!“;) ;
while (!present($Andrei[$mother])) cry();
}
$bani_pachet=$_GET['bani_pachet'];
if (repetent($Andrei))
{
$nr_ani_repetati++;
$an_scolar=$year-7-$nr_ani_repetati;
}
else $an_scolar=$year-7;
$money+=$bani_pachet;
if (current_position($Andrei)==”Electric Shop”;) $money- -;
if (($an_scolar==8) and ($liking_school==0))
{
$Andrei['stres']++;
$Andrei[$mother]['stres']=100*$Andrei['stres'];
}
if (exam_scuccess(capacitate(), $Andrei))
{
$nota_capacitate=capacitate(GET,’nota’;) ;
print $nota_capacitate;  // returns 9.18
if ($nota_capacitate >= 5) $Andrei['happy']++;
if ($nota_capacitate >= 9,5) $Andrei[$mother]['happy']++; else init crize();
init Liceu();
}
else ratat($Andrei);
set [...]

Read Full Post »