This project is a graphical Blackjack game implemented using Python and Pygame. It features a classic game of Blackjack where a player can hit, stand, double down, and split their cards against a dealer.
- Graphical User Interface: Fully implemented in Pygame with interactive buttons for player decisions.
- Gameplay Options: Players can choose to hit, stand, double down, or split according to classic Blackjack rules.
- Betting System: Players start with a set amount of money and can place bets, adjust their bets, and see their balance updated based on game outcomes.
You need Python and Pygame installed on your system to run this game. Python 3.8 or above is recommended. You can download Python from python.org and Pygame via pip:
pip install pygamepython main.pyStart the Game: Run the script as mentioned above. The game will start with the player having a default balance. Place Your Bet: Click the 'Increase Bet' button to adjust your bet before starting the hand. Game Options: Use the 'Hit', 'Stand', 'Double Down', and 'Split' buttons to make decisions during the game. Winning and Losing: The game follows standard Blackjack rules. The player's balance is updated based on the result of each hand.
Python - The programming language used. Pygame - The library used for creating the graphical interface. Authors Steven Chang
Currently this project does not support "Split" in Blackjack , It makes sense to implement it so that player can actually have an edge against the House