GR.Gambling.Blackjack.DiffStrategy.TakeInsurance C# (CSharp) Method

TakeInsurance() public method

public TakeInsurance ( Game game ) : bool
game Game
return bool
        public override bool TakeInsurance(Game game)
        {
            bool take1 = primary.TakeInsurance(game);
            bool take2 = secondary.TakeInsurance(game);

            if (take1 != take2)
            {
                Console.WriteLine("Insurance mismatch: " + take1 + " <> " + take2);
                Console.WriteLine(game.ToString());
            }

            return take1;
        }