Question
Video Poker: Do PROGRAMMING PROJECT P7.10 in the 7th Edition of Big Java (this problem is P7.9 in the 6th Edition). You must follow the
Video Poker: Do PROGRAMMING PROJECT P7.10 in the 7th Edition of Big Java (this problem is P7.9 in the 6th Edition).
You must follow the instructions below to receive credit for this assignment.
Instead of your player betting a single token each time, allow the player to bet between 1-5 tokens. If a player bets n tokens they win n times as much as indicated in the textbook prompt.
Your program must use the included templates. These templates are for the classes: Card, Deck, Game, Player, and a test class, TestPoker. You will need to fill-in the existing methods and may want to add more methods and/or instance variables to any or all of these classes except for the test class TestPoker. TestPoker must remain exactly as it is here.
This project requires you to have two versions of your game each constructed using a different version of the Game constructor. One will require an explicit parameter that you will get as a command-line argument, this is to help you (and us) test your code. That is, it will allow the user to specify the hand that the player gets which will help in testing if your game correctly identifies the various hands. Carefully read the comments in the template files to help you understand how this will work.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
To modify the existing poker game to allow the player to bet between 15 tokens and win n times as mu...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started