Skip to content

Digislaw/BlackjackAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

♦️ Blackjack Bot ♦️

This repository contains a simple C++ blackjack bot designed for command-line interaction. It offers the ability to run the game, as well as conduct profit benchmarks.

Usage

blackjack [OPTIONS] [COMMAND] [ARGUMENTS]

Options

  • -v: Enable verbose output

Commands

  • run <Money> <Bet> <Rounds>: Run the game with specified money, bet amount and number of rounds to play.
  • benchmark <Money> <Bet> <Iterations> <Rounds_vector>: Conduct profit benchmarks with specified money, bet amount, a given number of iterations, and an optional vector of round numbers for more detailed analysis.

Arguments

  • Money: Starting money for the game or profit benchmarking.
  • Bet: Amount of money to bet per hand.
  • Rounds: Number of rounds to play in the game.
  • Iterations: Number of times to conduct the profit benchmarks. (Optional when running the game)
  • Rounds_vector: Vector of round numbers for more detailed profit analysis during the benchmarking process. (Optional when conducting profit benchmarks)

Learn more

Stanford CS221

About

Blackjack bot based on Expectimax algorithm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages