Skip to content

Bar-A-94/BlackJack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BlackJack

Explore the world of probability theory and reinforcement learning while having fun with Blackjack!
This Python project provides a comprehensive implementation of the classic card game and probabilities/reinforcement learning ideas.

Features:

Basic Blackjack Game: Play Blackjack with a fully functional card game engine.
Probability Calculations: Dive into the math behind the game, calculating probabilities of various outcomes.
Reinforcement Learning Agent: Train and challenge an RL agent to improve its Blackjack strategy.
Interactive Interface: Enjoy a user-friendly interface to play Blackjack against the RL agent or watch it learn.

Key Learning Opportunities:

Learn the basic rules of the game - more information
Gain insights into probability theory and its applications in card games - more information
Gain insights into reinforcement learning agent and its applications in card games - more information
Explore RL algorithms and strategies to optimize decision-making - Throughout the course of our experimentation, we conducted seven sets of games, each consisting of 1000 rounds, to assess the performance of our Blackjack players

Comparison graph

Getting Started:

Clone this repository to your local machine.
Install the required Python dependencies.
Start playing Blackjack by main.py, or set up RL training sessions by Train_and_compare.py!

Contributions:

Contributions and feedback are welcome! Feel free to open issues, submit pull requests, or share your insights.

About the Author:

Bar alon
Linkedin

About

Explore the world of probability theory and reinforcement learning while having fun with Blackjack! This Python project provides a comprehensive implementation of the classic card game and some probabilities with reinforcement learning ideas

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages