Skip to content

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.

License

Notifications You must be signed in to change notification settings

psupra22/Blackjack-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Blackjack Game

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.

Features

  • 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 Deck and BlackJackGame classes

Installation

  1. Clone this repository:
    git clone https://github.com/psupra22/Blackjack-Game
    cd Blackjack-Game

Usage

  1. Run the Blackjack game:

    python main.py
  2. Enter your starting bankroll and follow on-screen instructions to place bets and play rounds.

Gameplay Summary

  • 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

License

This project is licensed under the MIT License.

Contact

For any inquiries, feel free to reach out at [email protected].

About

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages