Example #1
0
        public Game(Player p0, Player p1, Player p2, Player p3, Player p4, Player p5, Player p6, Player p7, Player p8, Player p9, Label iChipSum, Label iBetSum, Label iLabelEVpushCall, Label iLabelEVfoldVal, Label iLabelEVpushCallVal, Label iLabelEVdiffVal)
        {
            icm = new ICM();
            players = new Player[10];
            players[0] = p0;
            players[1] = p1;
            players[2] = p2;
            players[3] = p3;
            players[4] = p4;
            players[5] = p5;
            players[6] = p6;
            players[7] = p7;
            players[8] = p8;
            players[9] = p9;
            labelBetSum = iBetSum;
            labelChipSum = iChipSum;
            labelEVpushCall = iLabelEVpushCall;
            labelEVfoldVal = iLabelEVfoldVal;
            labelEVpushCallVal = iLabelEVpushCallVal;
            labelEVdiffVal = iLabelEVdiffVal;

            for (int i = 0; i < 4; i++)

                players[i].chips.Text = "5000";

            for (int i = 4; i < 10; i++)

                players[i].chips.Text = "100";

            playersData = new double[10, 8];
        }
Example #2
0
 public calcRanges()
 {
     icm = new ICM();
     playersData = new double[10, 9];
     ranges = new int[10,2];
     myHand = new int[2];
     reset();
 }