Skip to content

oxfordBlueDevil/Blackjack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Blackjack Game

We've implemented a multiplayer game of Blackjack.

We've created a simplified version of the game for this project:

  1. You can play with 1 - 10 players and 1 Dealer
  2. The player can only hit or stay (no split or double down).

Some notes on my implementation:

  1. The dealer plays by the rules of hitting at 16 or lower, staying at 17 or higher.
  2. The payout for Blackjack is 3:2.
  3. The player starts with a fixed amount of money ($100), and is able to play until bankrupt or quitting.

Code

  • In deck.py there's a Card and a Deck class.

How to test

  • blackjack.py: Running python blackjack.py in the code directory should run a game. Enjoy!

Further Step

  • Implement double down and/or split

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages