This is a simple, text-based Blackjack game written in Python. You play against four automated opponents — one dealer and three NPCs — who each hit a random number of times.
- Randomized card drawing
- Basic Blackjack rules (Hit, Stand, Bust, Win)
- NPC opponents with simple logic
- End-of-game scoreboard showing results
- Open a terminal and navigate to the project folder.
- Run the game: python blackjack.py
- You'll be dealt two random cards.
- Type
HITto draw another card orSTANDto end your turn. - The NPCs play automatically, and the winner is announced at the end.
- Python 3.x
No additional libraries are required.
- Seeing what the dealer has in hand while player decides to hit or stand
- Smarter AI for NPCs
- Card suit and face card support (e.g. King, Queen, Ace)
- Betting system with virtual currency