/// <summary> /// Ingame logic /// </summary> private static void StartGame() { if (Game.GetPlayers().Count.Equals(0) || Game.GetItems().Count.Equals(0)) { BoardUI.PrintNoData(); return; } Game.StartGame(); do { // 1. SCORE BoardUI.PrintScore(Game.GetPlayers(), Game.GetRoundNumber()); // 2. PLAY Game.SetPlays(BoardUI.ReadHumanPlays(Game.GetPlayers(), Game.GetItems())); // 3. PRINT BoardUI.PrintPlays(Game.GetPlayers(), Game.GetRoundNumber(), Game.GetRoundWinner()); // 4. VALIDATE string winners = Game.ValidateEndGame(); if (winners != null) { BoardUI.PrintWinner(winners); } } while (!Game.IsEndGame()); }