Rules
Simple Blackjack with no bets. (2 Players vs Dealer)
You can play with human or AI opponents against the Dealer/ bank.
No handling of split, only possible choices are hit or stand.
At the end of the game, each player's hand is only compared to the dealer and not against each others (multiple winners possible)
Instructions
Clone the repository to the directory of your choice.
Load in IntelliJ then run the App class.
Outside of IDE run the following commands in the command line :
mvn clean package
java -jar target\blackjack-1.0-SNAPSHOT.jar
Use setup option from menu to change game setup (Vs Human or AI)
Completion
Implement a card gameMaintain a scoring system that persists over multiple game sessionsAbility to play against the computer, or against other playersBe extensible so that other card games could be implemented in the future, potentially dozens of different games- Track each player/computer action within the system
Capable of supporting interaction patterns other than a command-line interfaceWhen playing against the computer a difficulty setting of easy/medium/hard can be selected
TODO
- Use Command Pattern to handle "user commands" from UI Clients (Stand,Hit...) to avoid calling specific methods from BlackJack
- Use AOP for Logging / Tracing