This is a Python script that simulates a Blackjack game.
- Run the script using Python.
- Enter the amount of money you want to start with.
- Enter the amount of money you want the dealer to start with.
- Place your bet for each round.
- Choose whether to hit (draw a card) or stand (end your turn).
- The dealer will then draw cards according to the game rules.
- The winner is determined based on the values of the cards.
Cards
: Represents a single card in the deck.Deck
: Represents a deck of cards.Player
: Represents a player in the game.Dealer
: Represents the dealer in the game.
clear_screen()
: Clears the console screen.player_drawing()
: Handles the player's turn.dealer_drawing()
: Handles the dealer's turn.
To run the game, execute the following command in your terminal:
python Blackjack.py