// Create a table with 10 seats, 9 players and a dealer. PokerTable table = new PokerTable(10); // Create a texasholdem game on that table. var game = new TexasHoldemPokerGame(table); // add our player to the table table.AddPlayer(_player,200);
while (!game.Finished) { game.CreateAndPlayNewTurn(); Thread.Sleep(3000); }