A simple terminal-based Blackjack game in Python where players compete against a dealer to get as close to 21 as possible without going over. Includes betting, score calculation, and game rounds.
- Full Blackjack rules with hit/stand decisions
- Automatic dealer logic
- Betting system with bankroll tracking
- Score calculation with optimal Ace handling
- Object-oriented design using
DeckandBlackJackGameclasses
- Clone this repository:
git clone https://github.com/psupra22/Blackjack-Game cd Blackjack-Game
-
Run the Blackjack game:
python main.py
-
Enter your starting bankroll and follow on-screen instructions to place bets and play rounds.
- Start by entering your bankroll
- Place a bet each round
- Try to beat the dealer by getting closer to 21
- Blackjack pays 3:2
- Busting loses the round
- Dealer hits until 17 or higher
This project is licensed under the MIT License.
For any inquiries, feel free to reach out at [email protected].