コード例 #1
0
ファイル: MiniMaxStrategy.cs プロジェクト: mathjeff/SCGSim
        private void ProcessOnce(Analyzed_GameState gameState)
        {
            // follow the series of game states that we predict to take place in the actual game
            while (gameState.FavoriteChild != null)
            {
                gameState = gameState.FavoriteChild;
            }
            // Generate a child game for each possibility
            Game currentGame = gameState.Game;

            this.PutGameOptions(gameState, currentGame.Get_NextChoice());
        }