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.
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.
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
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 and feedback are welcome! Feel free to open issues, submit pull requests, or share your insights.
Bar alon
Linkedin
