GR.Gambling.Blackjack.OptStrategy.GetBestAction C# (CSharp) Method

GetBestAction() public method

public GetBestAction ( Game game ) : ActionType
game Game
return ActionType
        public override ActionType GetBestAction(Game game)
        {
            /*Console.WriteLine("upcard: " + upcard + " hand: " + game.PlayerHandSet.ActiveHand);
            foreach (ActionEv ae in actions)
                Console.WriteLine(ae.Action + " " + ae.Ev);

            Console.ReadLine();*/

            List<ActionEv> actions = GetActions(game);

            return actions[0].Action;
        }