Exemple #1
0
        public override double EvaluateGameState(PD_Game game)
        {
            double score = _score_calculator.CalculateScore(game);

            if (game.GQ_Is_Won())
            {
                return(1);
            }
            else if (game.GQ_Is_Ongoing())
            {
                return(score);
            }
            else
            {
                return(0);
            }
        }