Welcome to the README for the Blackjack game!
This game is a command-line interface (CLI) implementation of the popular casino card game, Blackjack(However a simple version). The objective of the game is to beat the dealer by having a hand that is worth more points than the dealer's hand, without going over 21 points.
To run the game, you will need to have Python 3 installed on your computer. Once you have Python installed, follow these steps:
- Download or clone the repository to your local machine.
- Open a terminal or command prompt window and navigate to the directory where the game files are located.
- Type python main.py and hit Enter to start the game.
Some rules of our blackjack game:
- The deck is unlimited in size.
- There are no jokers.
- The Jack/Queen/King all count as 10.
- The Ace can count as 11 or 1.
- Use the following list as the deck of cards:
- cards = [11, 2, 3, 4, 5, 6, 7, 8, 9, 10, 10, 10, 10]
- The cards in the list have equal probability of being drawn.
- Cards are not removed from the deck as they are drawn.
- The computer is the dealer.
Have a play around!😀