Question: Objective: Using Java, create a game of video poker with a graphical user interface (GUI). The player should start with $100, and then the system

Objective:
Using Java, create a game of video poker with a graphical user interface (GUI). The player should start with $100, and then the system deals out 5 playing cards. After the player sees the cards they are then asked to wager $10, $20, $50, or $100. Next the user picks which cards they wish to throw away, and then the system deals more cards in their place. Once this has concluded money are awarded by these criteria:
Nothing Player loses their wager
Pair Player gets back their wager
Two Pair Player wins wager x 2
3 of a kind Payer wins wager x 3
Full House Player wins wager x 6
Flush Player wins wager x 10
Straight Player wins wager x 15
4 of a kind Player wins wager x 20
Royal Flush Player wins wager x 100
If the players cash is less than or equal to 0 the game is over, and they restart with $100. Also once they close the program it should store the score in a file that once they restart it they begin with the score they once had.
YOU MUST COMMENT YOUR CODE

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!