Skip to content

Fanaticaj/CPSC-481

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AI Blackjack

A python Blackjack implementaiton with AI assistance. image

Dependencies

pygame, matplotlib (for simulations), numpy (for simulations)

Run Instructions

Simply download the repository, navigate to the blackjack-ai folder, and run the game with python main.py.

Game Explanation

You can can play four different variations of Blackjack:

  • Classic Blackjack
  • Spanish Blackjack
  • European Blackjack
  • Blackjack Switch

Upon choosing one of the games, you can choose which mode to play:

  • Watch Blackjack - You can watch the AI play the game for you. Player controls are disabled in this mode.
  • Play Blackjack - You can play blackjack for yourself with an AI assistant to guide you.

Controls (Play Mode)

Key Action
h Hit
s Stand
d Double
p Split

Controls (Blackjack Switch Play Mode)

Key Action
s Switch
1 Hit Hand 1
2 Hit Hand 2
q Double Hand 1
w Double Hand 2
t Stand

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages