package com.skraylabs.poker.model;

/**
 * The state of a Texas Hold 'Em Poker game.
 */
public class GameState {

  /**
   * The "board" is the set of 5 community cards shared by all players in a game Texas Hold 'Em
   * Poker.
   */
  public class Board {
    /**
     * First of three cards dealt in the second round (the "flop").
     */
    public Card flopCard1;
    /**
     * Second of three cards dealt in the second round (the "flop").
     */
    public Card flopCard2;
    /**
     * Third of three cards dealt in the second round (the "flop").
     */
    public Card flopCard3;
    /**
     * Card dealt in the third round (the "turn").
     */
    public Card turnCard;
    /**
     * Card dealt in the fourth and final round (the "river").
     */
    public Card riverCard;
  } // end of class Board

  /**
   * Pair of face-down cards held by each player in a game of Texas Hold 'Em poker.
   */
  public class Pocket {
    /**
     * First of two pocket cards.
     */
    public Card card1;
    /**
     * Second of two pocket cards.
     */
    public Card card2;
  } // end of class Pocket
}

@@ -1104,11 +1104,862 @@
 s Pocket
+%0A%0A  /**%0A   * The %22board%22. Community cards.%0A   */%0A  private Board board;%0A%0A  /**%0A   * Pocket cards. Player cards. There is a maximum of 10 players.%0A   */%0A  private Pocket%5B%5D pockets = new Pocket%5B10%5D;%0A%0A  /**%0A   * Default constructor.%0A   */%0A  GameState() %7B%0A  %7D%0A%0A  /**%0A   * Accessor: get the board cards.%0A   *%0A   * @return community cards%0A   */%0A  public Board getBoard() %7B%0A    return board;%0A  %7D%0A%0A  /**%0A   * Modifier: set the board cards.%0A   *%0A   * @param board community cards to set%0A   */%0A  public void setBoard(Board board) %7B%0A    this.board = board;%0A  %7D%0A%0A  /**%0A   * Accessor: get pocket cards.%0A   *%0A   * @return player cards%0A   */%0A  public Pocket%5B%5D getPockets() %7B%0A    return pockets;%0A  %7D%0A%0A  /**%0A   * Modifier: set pocket cards.%0A   *%0A   * @param pockets player cards to set%0A   */%0A  public void setPockets(Pocket%5B%5D pockets) %7B%0A    this.pockets = pockets;%0A  %7D
 %0A%7D%0A

add members, constructor, setters, and getters.