3

while(!me.isDead){
if(!dayStar.isOverhead)
me.Thread.Sleep(dayStar.riseTime() -DateTime.Now);
var totalCodeTimeToday = new Timespan();
while(dayStar.isOverhead){
if(me.isHungry())
me.Eat(food);
totalCodeTimeToday.addTime(me.Code().Duration(tenMinutes));
if(totalCodeTime >= eightHours)
me.Relax();
}
}

Comments
Add Comment