public override void StartGame() { board.InitBoard(); mctsPlayer.SetPlayerInd(ReversiBoard.players[playerFirst ? 1 : 0]); mctsPlayer.ResetPlayer(); UpdateBoard(); thisTurn = PieceType.Black; StartCoroutine("StartGameLater"); }
private async void Init() { turnNum = 0; passNum = 0; board = ReversiBoard.InitBoard(); record = MatchRecord.Empty(); //先手と後手で別の思考エンジンを使える senteEngine = new ThinkingEngine.RandomThinking(); goteEngine = new ThinkingEngine.CountingEngine(); RefreshTurnLabel(); RefreshPanel(); inGame = true; inPlayback = false; await Next(); }