Exemplo n.º 1
0
        override public int Play()
        {
            int chosenCard;

            if (_handSize > 10)
            {
                chosenCard = infoSet.RuleBasedDecision();
            }
            else
            {
                chosenCard = PIMC.ExecuteWithTimeLimit(_id, infoSet, new List <int> {
                    1, 1, 1, 1, 1, 1, 1, 1, 1, 1
                });
            }

            //infoSet.AddMyPlay(chosenCard);
            _handSize--;
            return(chosenCard);
        }
Exemplo n.º 2
0
        override public int Play()
        {
            int chosenCard;

            if (infoSet.GetHandSize() > 10)
            {
                chosenCard = infoSet.RuleBasedDecision();
            }
            else
            {
                chosenCard = PIMC.Execute(_id, infoSet, 1, new List <int> {
                    10, 10, 10, 10, 10, 10, 10, 10, 10, 10
                }, new List <int> {
                    1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000
                });
            }

            return(chosenCard);
        }
Exemplo n.º 3
0
        override public int Play()
        {
            int chosenCard;

            if (infoSet.GetHandSize() > 10)
            {
                chosenCard = infoSet.RuleBasedDecision();
            }
            else
            {
                chosenCard = PIMC.ExecuteWithHybridSearch(_id, infoSet, new List <int> {
                    5, 5, 5, 5, 5, 5, 5, 5, 5, 5
                }, new List <int> {
                    5, 5, 5, 5, 5, 5, 5, 5, 5, 5
                });
            }

            return(chosenCard);
        }
Exemplo n.º 4
0
        override public int Play()
        {
            int chosenCard = PIMC.Execute(_id, infoSet, 1);

            return(chosenCard);
        }