https://github.com/hit07/blackjack_capstone_project
In this repository I have implemented a Python-based Blackjack game, simulating card dealing and player-dealer interactions with blackjack rules and player strategy options
https://github.com/hit07/blackjack_capstone_project
python
Last synced: 12 months ago
JSON representation
In this repository I have implemented a Python-based Blackjack game, simulating card dealing and player-dealer interactions with blackjack rules and player strategy options
- Host: GitHub
- URL: https://github.com/hit07/blackjack_capstone_project
- Owner: Hit07
- Created: 2023-02-23T10:30:55.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-07-19T16:25:40.000Z (almost 2 years ago)
- Last Synced: 2025-01-11T04:33:01.389Z (over 1 year ago)
- Topics: python
- Language: Python
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Blackjack_Capstone_Project
Blackjack--->Card game whose object is to be dealt cards having a higher count than those of the dealer, up to but not exceeding 21. The dealer may use a single deck of 52 cards or two or more decks from a holder called a shoe. Aces count as 1 or 11, and face cards as 10. Depending on the rules used, bets may be placed before the deal, after each player has been dealt one card facedown, or after each player has received two cards facedown and the dealer has exposed one of his cards.
The play goes as follows:
1) If the dealer has blackjack and the player doesn't, the player automatically loses.
2) If the player has blackjack and the dealer doesn't, the player automatically wins.
3) If both the player and dealer have blackjack then it's a push.
4) If neither side has blackjack, then each player plays out his hand, one at a time.
5) When all the players have finished the dealer plays his hand.
6) The player's options for playing his or her hand are: