public class Table {
  private Dealer   dealer;
	private Shoe     shoe;
	private Seat[]   seats;

	public Table (int number_of_seats, int number_of_decks_in_shoe) {
		dealer = new Dealer ();
    shoe   = new Shoe (number_of_decks_in_shoe);
		seats  = new Seat[number_of_seats];

    for (int i = 0; i < seats.length; i++) {
      seats[i] = new Seat();
    }
	}

  public void addPlayer (Player player, int seatNumber) {
    seats[seatNumber].addPlayer (player);
  }

  public void play () {
    shoe.shuffle ();

    placeBets ();

    deal ();
    deal ();

    playersTurn ();
  }

  private void playersTurn () {
    for (Seat seat : seats ) {
      Player player = seat.getPlayer ();

      if (player != null) {
        do {
          System.out.println (seat.getPocketCount());

          String playerOption = player.play (seat);

          switch (playerOption) {
            case "hit"  : seat.addCard (shoe.dealCard());
                          break;
            case "stand": System.out.println ("Stand");
                          break;
            case "bust" : System.out.println ("Bust");
                          break;
            default     : System.out.println ("--" + playerOption);
          }

          if (playerOption == "stand" || playerOption == "bust")
            break;
        } while (true);

        System.out.println (seat);
      }
    }
  }

  private void deal () {
    for (Seat seat : seats ) {
      Player player = seat.getPlayer ();

      if (player != null) {
        seat.addCard (shoe.dealCard());
      }
    }

    dealer.getSeat().addCard (shoe.dealCard());
  }

  private void placeBets () {
    for (Seat seat : seats ) {
      if (seat.getPlayer() != null) {
        seat.placeBet ();
      }
    }
  }
}
@@ -573,20 +573,564 @@
 urn ();%0A
+    dealersTurn ();%0A  %7D%0A%0A  private void dealersTurn () %7B%0A    do %7B%0A      dealer.getSeat().getPlayer().play(dealer.getSeat());%0A%0A      String playerOption = dealer.getSeat().getPlayer().play (dealer.getSeat());%0A%0A      switch (playerOption) %7B%0A        case %22hit%22 : dealer.getSeat().addCard (shoe.dealCard());%0A                     break;%0A        default    : System.out.println (%22--%22 + playerOption);%0A      %7D%0A%0A      if (playerOption == %22stand%22 %7C%7C playerOption == %22bust%22)%0A        break;%0A    %7D while (true);%0A%0A    System.out.println (dealer.getSeat());%0A
   %7D%0A
-
 %0A  priva
@@ -1272,63 +1272,8 @@
 o %7B%0A
-          System.out.println (seat.getPocketCount());%0A%0A
     
@@ -1347,32 +1347,32 @@
 playerOption) %7B%0A
+
             case
@@ -1450,185 +1450,8 @@
 ak;%0A
-            case %22stand%22: System.out.println (%22Stand%22);%0A                          break;%0A            case %22bust%22 : System.out.println (%22Bust%22);%0A                          break;%0A
     

add dealers turn