A python Blackjack implementaiton with AI assistance.

pygame, matplotlib (for simulations), numpy (for simulations)
Simply download the repository, navigate to the blackjack-ai folder, and run the game with python main.py.
You can can play four different variations of Blackjack:
- Classic Blackjack
- Spanish Blackjack
- European Blackjack
- Blackjack Switch
Upon choosing one of the games, you can choose which mode to play:
- Watch Blackjack - You can watch the AI play the game for you. Player controls are disabled in this mode.
- Play Blackjack - You can play blackjack for yourself with an AI assistant to guide you.
| Key | Action |
|---|---|
| h | Hit |
| s | Stand |
| d | Double |
| p | Split |
| Key | Action |
|---|---|
| s | Switch |
| 1 | Hit Hand 1 |
| 2 | Hit Hand 2 |
| q | Double Hand 1 |
| w | Double Hand 2 |
| t | Stand |