コード例 #1
0
ファイル: Table.cs プロジェクト: Ezakhiel/Poker-dynamic
        public Table(MyCard.Deck d, int playerCount, IncInformationForm incForm)
        {
            folded = false;
            deal = new Deal(this);
            this.controls = incForm;
            riverHidden = new MyCard.Card("unknown", Properties.Resources.back);
            turnHidden = new MyCard.Card("unknown", Properties.Resources.back);
            flopH1 = new MyCard.Card("unknown", Properties.Resources.back);
            flopH2 = new MyCard.Card("unknown", Properties.Resources.back);
            flopH3 = new MyCard.Card("unknown", Properties.Resources.back);
            this.deck = d;
            this.bigBlind = 50;
            this.smallBlind = 25;
            this.playerCount = playerCount;

            for (int i = 0; i < playerCount; i++)
            {
                players.Add(new Player.HumanPlayer(1000, i, this));
                players.ElementAt(i).setCards(deck.getCard(), deck.getCard());
                players.ElementAt(i).setPos(Player.Position.None);
            }
            players[0].setPos(Player.Position.SmallBlind);
            smallBLoc = 0;
            controls.playerVis[0].typeLBL.Text += "SB";
            players[1].setPos(Player.Position.BigBlind);
            bigBLoc = 1;
            controls.playerVis[1].typeLBL.Text += "BB";
        }
コード例 #2
0
ファイル: TurnThread.cs プロジェクト: Ezakhiel/Poker-dynamic
 public TurnThread(Deal d)
 {
     this.deal = d;
     foldcount = 0;
 }
コード例 #3
0
 public TurnThread(Deal d)
 {
     this.deal = d;
 }
コード例 #4
0
 public TurnThread(Deal d)
 {
     this.deal = d;
 }