while( !world.isDestroyed() ){ while( me.isAlive() ){ me.eat(favouriteFood); me.play(bestGames); me.sleep(randomIntBetween(0,12) ); } }