Job: Defines a class that encapsulates a table stud game that contains information about the remaining cards on the table and contains information about the status of 5 players, their respective positions, the state of the game (being played or abandoned), the cards already on hand, and so on. If possible, this class should also implement the licensing method, this method needs to control from whom to start licensing, do not deal with the waiver of the person, and modify the remaining cards on the table;????
Stud Game rules:
At the beginning of the game, each player will be issued a hole card, this card is dark cards, when the second card is distributed, the card is determined by the large number of bets, other people have the right to choose "call", "raise" or "Give up." When the five cards were distributed, the players opened all the cards to compare, stud in the World Card game status is very high, deeply loved by people.
1. The card is an enum (4 suits, 2~a, big imp)
2.5 player (position [Start, 2,3,4,5],id[1,2,3,4,5], hand [array of cards], status [in-game, abandoned])
3. Table is a two-dimensional array (showing 5 player[fixed 5 positions, showing the user's number of cards, ID, hand, status])
Others have not thought of .... _ (: By) ∠) _ It's so hard.
Java jobs-Stud-pending completion