Python Terminal Blackjack Game

Welcome to the Python Terminal Blackjack Game! This is a simple text-based implementation of the classic casino card game Blackjack, also known as 21.

Overview

In this game, you'll play against the computer dealer. The goal is to get as close to 21 as possible without going over. Face cards are worth 10 points, numbered cards are worth their face value, and Aces can be worth either 1 or 11 points, whichever is more beneficial.

Features

  • Text-based interface for easy gameplay in the terminal.
  • Ability to hit (draw a card) or stand (end your turn).
  • Dealer follows a simple set of rules for gameplay.
  • Interactive prompts to guide the player through the game.
  • Basic error handling for invalid inputs.

How to Play

  1. Clone or download this repository to your local machine.
  2. Navigate to the directory containing the game files.
  3. Run the main.py file using Python: python main.py.
  4. Follow the on-screen prompts to play the game.
  5. Enjoy the thrill of Blackjack from the comfort of your terminal!

Requirements

  • Python 3.x

Screenshots

Gameplay screenshot

Contribution

Contributions are welcome! If you'd like to contribute to this project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/your-feature).
  3. Make your changes.
  4. Commit your changes (git commit -am 'Add some feature').
  5. Push to the branch (git push origin feature/your-feature).
  6. Create a new Pull Request.

License

This project is licensed under the MIT License