Esempio 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);
        }
Esempio 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);
        }
Esempio 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);
        }
Esempio n. 4
0
        override public int Play()
        {
            int chosenCard = PIMC.Execute(_id, infoSet, 1);

            return(chosenCard);
        }