java hold’em

Click here to load reader

Upload: echo-jensen

Post on 04-Jan-2016

46 views

Category:

Documents


0 download

DESCRIPTION

Java Hold’em. By: Jordan Simon Mike Norman Charles Slack. What is Java Hold’em ?. Variant of Texas Hold’em poker made in Java! Our game boasts the 5 card River and each player has two cards themselves. Features. Bet: Player is able to place a bet based on how much money they have. - PowerPoint PPT Presentation

TRANSCRIPT

Java Holdem

By: Jordan SimonMike NormanCharles SlackJava Holdem

What is Java Holdem?Variant of Texas Holdem poker made in Java!Our game boasts the 5 card River and each player has two cards themselves.

FeaturesBet: Player is able to place a bet based on how much money they have. Call: When another player has bet the next can either call or fold. If the amount bet is greater than how much that player has they would go all in.Fold: Player may fold their cards and wait for the next hand.Check: If the player is content with their cards and is awaiting the next card to be shown on the River. (This is if/when no other player has bet).Chat: Player may communicate with each other through chat feature.Multiplayer: Up to four players can play.

Java Holdem GUIThe GUI with four players GO LAWLER2!

Game SetupWhen player starts the game they will log in to a server (IP of the machine running server) using an alias and the server IP.The player will then wait until at least one more player has joined.When Java Holdem starts each player will have two cards with $500 starting cash. Upon their turn they can bet, call, fold, or check depending on the situation.A player wins a hand after the hand evaluator checks each persons hand against each other.

Client / Server ClientServerTakes the input in the inputThread() and is always awaiting its next command.Contains the GUI interfaceSome examples of commands include: GET_ID, MAKE_NEW_PLAYER, and BET_CALL.Likewise the server has a thread called ReadThread() that is always awaiting commands.Handles the communication between clients over the network.Some examples of commands include: TURN, REFRESH, and FULL