Skip to content

Nicolas-Nogueira/Counting-BJ

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Blackjack Agent Simulator A Python project that simulates multiple rounds of Blackjack to compare the performance of two agents: a Counting Agent using card counting strategies, and a Random Agent making decisions randomly. It tracks their bankrolls over time and visualizes the results.

Features Simulates 100 rounds of Blackjack gameplay

Implements a Counting Agent with card counting strategy

Implements a Random Agent with random decision-making

Collects and visualizes bankroll data for both agents

Includes tests for the Blackjack game logic

Technologies Used Python 3.x

matplotlib (for data visualization)

Installation Clone the repo: git clone repo-link

Install dependencies: pip install matplotlib

Usage Run the script to simulate 100 rounds of Blackjack and visualize the agents’ bankroll performance over time.

image image image

About

Building a Blackjack-playing agent that uses card counting to maximize winnings over 100 games.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published