private bool executeFight() { player.defineTarget(opponent); opponent.defineTarget(player); Display.setFightMode(player, opponent); while (true) { if (player.isAlive) { player.nextFightAction(dice); } else { break; } if (opponent.isAlive) { Display.newFightScreen(); opponent.nextFightAction(dice); } else { break; } } Display.SetStoryMode(); return(player.isAlive); }