Blackjack Game with AI
lets you Play blackjack against the dealer or an AI player
Software Santa's note: ALL cards are shown as Spades. When I complained to the developer that I never saw a Heart: he pointed out that Suits are irrelevant in BlackJack and it doesn't affect gameplay. The AI Teaching System is a Nice and Unique touch: so you might want to try this one despite the jarring visual appearance of it.
This is one of the few blackjack games that has a computerized opponent that plays very effectively. In teaching mode, you can learn how to play blackjack in the mathematically ideal way, and win more than 50% of the time. Blackjack is a card game in which you try to get a combination of cards greater than the dealers hand but not greater than 21. Going over 21 is called busting and you loose the hand. This application lets you play blackjack on an account you can create that keeps track of your settings and your money. There is an AI player to play against and try to beat, and a learning mode where you can learn how to play blackjack perfectly, and make money.
While making this game, I learned how to:
- Create a GUI using Swing and Netbeans
- Play blackjack optimally
- store setting in a .txt file and reload them later
- separate logic components from the GUI
- manage user accounts
- send emails automatically