A simple blackjack simulator with most of the black jack rules instead of splitting and surrender which will be updated soon(if I don't plz remind me by writting an issue). It has a nice graphical user interface made by tkinter module which gives you real life experience of playing blackjack in Las Vegas.
This project was a little simpler than I expected it to be, as I had reffered some other blackjack repositories and then coded my own. This was my first experience with Tkinter module which I thought would be great but still I would like to stick with PyQt5's designer as it helps a lot.
I saw the movie 21 and got curious about how to play blackjack. I saw a couple of videos and then thought let's code it.
Run the following command in your terminal:
git clone https://github.com/AnshGaikwad/Blackjack.git
No requirements required
Run the following code in your terminal:
python play.py
- Hitting
- Standing
- Double Down
- Splitting
- Surrender
- If player wins, 1:1 chips are won => he wins a equal amount of chips which he bets
- If player has blackjack i.e 21, 3:2 chips are won => he wins 1.5 times more chips than he bets
- If dealer wins, the player looses the amount of chips he bets
- PUSH, no chips exchanged
- BOTH BUSTED, no chips exchanged
- If player surrenders, the dealer takes half the player's bet and returns the other half back to the player
- Awesome blackjack simulator
- Gives real life experience
- Follows almost all rules
I didn't find any bug till now but if any one finds one please feel free to write an issue or you can just e-mail me.