Skip to content

A game of casino BlackJack recreate with Python.

Notifications You must be signed in to change notification settings

Khoa-bit/BlackJack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BlackJack

'BlackJack' is my personal take on reimplementing Casino BlackJack. 'BlackJack' is CLI game.

To try out 'BlackJack':
  1. If you are on Window, you need to open logic.py and, on line 6, replace os.system('clear') with os.system('cls'). Then you can run main.py
  2. If you are on Mac or Linux, you just need to run main.py.
Quick demo:

Preview

This demo didn't cover:

  • BlackJack
  • Split rule

What I have learned:

  • Improve OOP knowledge
  • Override __repr__ to debug
  • String format
  • Do not import variables from A import x1 but practice A.x1 instead.

About

A game of casino BlackJack recreate with Python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages