https://github.com/tca166/blackjack
A little blackjack simulator framework
https://github.com/tca166/blackjack
blackjack blackjack-python python3
Last synced: about 2 months ago
JSON representation
A little blackjack simulator framework
- Host: GitHub
- URL: https://github.com/tca166/blackjack
- Owner: TCA166
- Created: 2023-11-18T16:05:28.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-20T08:04:46.000Z (over 1 year ago)
- Last Synced: 2025-02-07T16:43:32.516Z (3 months ago)
- Topics: blackjack, blackjack-python, python3
- Language: Python
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# blackjack
A Python Blackjack simulation.
Designed to be very customizable.## Files
The code is split into three files:
- blackjack.py which is responsible for laying out a few ground rules in forms of common classes and abstract classes
- players.py which contains basic player and dealer classes
- game.py which contains the basic game class## Usage
In order to play the simulation run the game.py file.
By default the game class contains the interactive player which is controlled via user input.
Other classes however don't allow for input or output and thus can easily be used in a simulation.