public void CreateBoard(GameType gameType) { this.gameType = gameType; if (gameType == GameType.PlayerVsAI) { player1 = new Human(); player2 = new AI(); } else if (gameType == GameType.PlayerVsPlayer) { player1 = new Human(); player2 = new Human(); } else { player1 = new AI(); player2 = new AI(); } gameLogic = new GameLogicPlaceholder(); UpdateBoard(); }
public Common.Move MakeMove(GameLogicPlaceholder game) { return(Think()); }
public void NewBoardState(GameLogicPlaceholder gameLogic) { this.gameLogic = gameLogic; UpdateBoard(); }