This is a simple Blackjack game implemented in Python. The game allows players to play Blackjack against a computer-controlled dealer.
- Player vs. Dealer: Play Blackjack against the computer-controlled dealer.
- Hit or Stand: Choose whether to hit (draw another card) or stand (keep the current hand) during your turn.
- Winning Conditions: Win the game by having a higher score than the dealer without exceeding 21 points.
- Currency: Users can win or lose currency while playing
- Python: The core programming language used to implement the game logic.
- unittest Module: Used for writing and running automated tests to ensure the correctness of the game's functionality.
- Random Module: Utilized for shuffling the deck of cards and dealing random cards to players.
- Terminal/Console: The game interface is presented in the terminal/console, allowing players to interact via text input.
Follow these steps to set up the project locally:
- Open Git BASH Download Link
- Clone the repository to your local machine:
git clone https://github.com/tdietzel/black_jack
- Open the project directory:
cd *black_jack*
- Open in a code editor like Visual Studio Code.
- In the command line, run the command
python app.py
to compile and execute the console application. Since this is a console application, you'll interact with it through text commands in your terminal.
I welcome contributions to improve the project. If you'd like to contribute, please follow these guidelines:
- Fork the project repository.
- Create a new branch for your feature or bug fix.
- Make your changes and test thoroughly.
- Commit your changes with a descriptive commit message.
- Push your branch to your forked repository.
- Create a pull request to the main repository.
- N/A
This project is licensed under the MIT License. See the LICENSE file for details.
For any questions, suggestions, or inquiries, please contact Trent Dietzel at dietzelbiz@outlook.com.