while (!Success){
tryagain();
if(tired)
break;
}
(function repeat() {
eat();
sleep();
believe_in_yourself();
repeat();
});