Skip to content

affablelochan/python_games

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

#to run the code do the following

> python BlackJack.py



General Rules:

   Players win if their hand has a greater total point value than the dealers, without going over 21"
   The best possible hand is called a blackjack and it consists of an ace and any 10-point card. A winning blackjack pays 2:1"
   If both the player and the dealer have a tie, including a blackjack tie, it is a 'push' and money is neither lost, nor paid "
   All other winning hands pay even money, 1:1"
   If either the player or the dealer exceed 21 or 'bust' the hand automatically loses."
   If both the dealer and player bust, the player loses."

Betting rules implemented in code: 

   player starts with 100 chips
   Minimum bet per hand is a single chip
   Minimum bet per hand is automatically placed when the player fails to place any bet
   If the player bets more than the chips available at hand, all the avialable chips are placed as bet.  


About

A repository for games coded in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages