public void StartGame(string player1, string player2, Settings settings) { _settings = settings; _game = new GameInfo(settings) { Player1 = player1, Player2 = player2 }; OnGameStarted(_game); _game.NewTurn(); OnTurnStarted(_game); }
public GameInfo(Settings settings) { GameId = Guid.NewGuid().ToString("N"); _settings = settings; _turnData = new List<TurnData>(); }