public Battle(IUi u, IEnvironment env) { ui = u; gameEnvironment = env; var i = 0; while (i < PlayersNumber) { var player = new Player(i, $"Player{i + 1}"); player.Die += PlayerDie; player.Damaged += PlayerDamaged; players.Add(player); i++; } CurrentPlayerIndex = new Random().Next(PlayersNumber); ui.StartGame(players[CurrentPlayerIndex].Name); if (!ui.IsTestActions()) { PlayTurn(players[CurrentPlayerIndex].NextTurn()); } }