Esempio n. 1
0
    public void Decision(NetworkPlayer player, string decision)
    {
        if (players.actual.owner == player)
        {
            switch (decision)
            {
            case "Pass":
                players.Pass();
                break;

            case "Check":
                players.Check(players.HighestBet());
                break;

            default:
                players.Raise(decision);
                break;
            }
            BetDone(players.actual);
        }
        return;
    }