public GameManager(IBoard board) { GameBoard = board; _firstPlayer = Player.Human; _currentPlayer = _firstPlayer; boardContent = GameBoard.Content; noWinner = null; GameState = new GameState {GameOver = false}; }
public GameManager(IBoard board) { GameBoard = board; _firstPlayer = Player.Human; _currentPlayer = _firstPlayer; boardContent = GameBoard.Content; noWinner = null; GameState = new GameState { GameOver = false }; }
private void setWinningGameState(Winner winner) { GameState.GameTied = false; GameState.GameOver = true; GameState.Winner = winner; }