Skip to content

Command line Black Jack game. The game was created with Python with a OOP structure and allows a user to win/lose chips and play against a computer dealer.

Notifications You must be signed in to change notification settings

Aman-Hundal/BlackJack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

BlackJack

Simple BlackJack game made with Python. Outline of the game is that there is a AI dealer and one active player. Facecards are valued at 10 and Aces can be valued at 1 or 11 depending on if its favorable for the player. Game uses a dealer class, a player class, deck class, card class, chip class and a hand class.

Objective of the game is for the dealer and player to get closest to 21 without going over. If they go over they bust and lose the round. Player start with 100 chips and if they reach 0 the game is entirely over. Players can cash out at the begginning of each round

Setup

  1. Open up your command line terminal
  2. Go to the location of the .py file
  3. Run python BlackJackAlpha.py

Final Product

Round Start Hit or Stay Round End Cash Out

About

Command line Black Jack game. The game was created with Python with a OOP structure and allows a user to win/lose chips and play against a computer dealer.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages