com.asdf.plugins.pokergames
Class PokerGame

java.lang.Object
  extended by com.asdf.common.Game
      extended by com.asdf.plugins.pokergames.PokerGame
Direct Known Subclasses:
TexasHoldemGame

public abstract class PokerGame
extends Game

Poker game class. Extendable to different poker games by extending to a subclass and implementing the interface stage for that game.

Author:
rimpila

Nested Class Summary
static class PokerGame.Blind
           
 
Field Summary
 int ACTION_WAIT
           
static int ANTE_ROUND
           
static int BET_ROUND
           
static int BLIND_ROUND
           
 int BLIND_WAIT
           
static int DEAL_N_CARDS_TO_HANDS
           
static int DEAL_N_CARDS_TO_TABLE
           
static int DISCARD_CARDS
           
 int DISCARD_WAIT
           
static int FREE_SEAT_WAIT
           
static int LESS_THAN_TWO_PLAYERS
           
 int MUCK_LOSING_WAIT
           
static int MUCK_ROUND
           
 int MUCK_WINNING_WAIT
           
static int NEW_DEAL
           
 int NEXT_GAME_WAIT
           
 int RESERVE_WAIT
           
static int SET_DEALER
           
static int SHOWDOWN
           
static int WAIT_PLAYERS
           
static int WINNINGS
           
 
Fields inherited from class com.asdf.common.Game
age
 
Constructor Summary
PokerGame()
           
 
Method Summary
 void die()
          Offers the game a chance to notify all players and observers about the imminent destruction of this game.
 
Methods inherited from class com.asdf.common.Game
columnNamesSync, descriptionSync, detailsSync, dieSync, getAccountName, getId, getName, getUserType, handleRequestSync, handleResponseSync, initialize, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

WAIT_PLAYERS

public static final int WAIT_PLAYERS
See Also:
Constant Field Values

ANTE_ROUND

public static final int ANTE_ROUND
See Also:
Constant Field Values

BLIND_ROUND

public static final int BLIND_ROUND
See Also:
Constant Field Values

SET_DEALER

public static final int SET_DEALER
See Also:
Constant Field Values

NEW_DEAL

public static final int NEW_DEAL
See Also:
Constant Field Values

BET_ROUND

public static final int BET_ROUND
See Also:
Constant Field Values

DEAL_N_CARDS_TO_TABLE

public static final int DEAL_N_CARDS_TO_TABLE
See Also:
Constant Field Values

DEAL_N_CARDS_TO_HANDS

public static final int DEAL_N_CARDS_TO_HANDS
See Also:
Constant Field Values

DISCARD_CARDS

public static final int DISCARD_CARDS
See Also:
Constant Field Values

WINNINGS

public static final int WINNINGS
See Also:
Constant Field Values

MUCK_ROUND

public static final int MUCK_ROUND
See Also:
Constant Field Values

SHOWDOWN

public static final int SHOWDOWN
See Also:
Constant Field Values

LESS_THAN_TWO_PLAYERS

public static final int LESS_THAN_TWO_PLAYERS
See Also:
Constant Field Values

BLIND_WAIT

public int BLIND_WAIT

MUCK_LOSING_WAIT

public int MUCK_LOSING_WAIT

MUCK_WINNING_WAIT

public int MUCK_WINNING_WAIT

ACTION_WAIT

public int ACTION_WAIT

NEXT_GAME_WAIT

public int NEXT_GAME_WAIT

DISCARD_WAIT

public int DISCARD_WAIT

RESERVE_WAIT

public int RESERVE_WAIT

FREE_SEAT_WAIT

public static final int FREE_SEAT_WAIT
See Also:
Constant Field Values
Constructor Detail

PokerGame

public PokerGame()
Method Detail

die

public void die()
Description copied from class: Game
Offers the game a chance to notify all players and observers about the imminent destruction of this game.

Specified by:
die in class Game