Example #1
0
        print_r($pot->contribs);
    }
    echo "<h1>" . count($table->pots) . " POTS</h1>";
    echo "\n\n";
    var_dump($table->pots);
}
$table = new Table();
$table->addPlayer("A");
$table->addPlayer("B");
$table->addPlayer("C");
$table->start();
$table->newHand();
$table->players["A"]->cash = 15;
#$table->players["B"]->cash = 150;
$table->allin($table->hotSeat());
$table->progressPhase();
$table->nextSeat();
$table->turnMsg();
$table->allin($table->hotSeat());
$table->progressPhase();
$table->nextSeat();
$table->turnMsg();
$table->allin($table->hotSeat());
$table->progressPhase();
//*/
pots($table);
exit;
/*
$table->players["C"]->cash = 15;
$table->call( $table->hotSeat() );
$table->progressPhase();