Skip to content

A simple Blackjack simulator with the help of Tkinter

Notifications You must be signed in to change notification settings

AnshGaikwad/Blackjack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blackjack

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.

Making of the project

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.

How did I got this idea

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.

Installation

Run the following command in your terminal:

git clone https://github.com/AnshGaikwad/Blackjack.git

Requirements

No requirements required

Execution

Run the following code in your terminal:

python play.py
  1. Hitting
  2. Standing
  3. Double Down
  4. Splitting
  5. Surrender

Payouts

  1. If player wins, 1:1 chips are won => he wins a equal amount of chips which he bets
  2. If player has blackjack i.e 21, 3:2 chips are won => he wins 1.5 times more chips than he bets
  3. If dealer wins, the player looses the amount of chips he bets
  4. PUSH, no chips exchanged
  5. BOTH BUSTED, no chips exchanged
  6. If player surrenders, the dealer takes half the player's bet and returns the other half back to the player

Features

  1. Awesome blackjack simulator
  2. Gives real life experience
  3. Follows almost all rules

Bug Report

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.

Releases

No releases published

Packages

No packages published

Languages