while(me.IsSleeping()) cat.Wails(); me.WakeUp(); for(int i = 0; i < 9 || cat.Life > 0; i++) me.Shoot(cat); me.Rejoice(); me.GoTo(bed);