userHit()
method of BlackJackController
. This method should implement the logic of the "user chose to hit" use case.userStand()
method of BlackJackController
. This method should implement the logic of the "user chose to stand" use case.
When the user chooses to stand, the user's turn is over therefore the "Hit" and "Stand" buttons should get disabled (thus preventing the user from cheating),
the dealer's play logic must be executed and game results should be announced with an option to play again.
If the user chooses to play again, a new round of Black Jack should start up. If the user chooses not to play again, the original Black Jack window
should remain open.startGame()
method of BlackJackController
. This method should implement the logic of the start of the game:
dealer and player are dealt two cards each, both of player's cards should be visible and one of dealer's cards should be visible with the second card
shown face down.Submit all the code necessary for your Black Jack game to hw7
directory of your git repos.
javac *.java
I will use the list of questions below. Each question can score you from 0 to 3 points (unless otherwise stated): No - 0, Somewhat - 1, Yes - 3. The sum of these points will be your grade for this homework.