Skip to content

nairnj/Blackjack

Repository files navigation

Blackjack

This project contains C++ software for many calculations of blackjack expected values. Calculations for standing, splitting, and doubling down are fast and exact.

Exact calculations of splitting and resplitting are very computationally intensive. Prior to this software, no exact calculations were available. This software makes the calculations possible because of a new algorithm for splitting. This project includes a paper that describes algorithm development. The algorithm sped up simple recursize blackjack programming by an estimated five orders of magntiude. As a result, calculations that previously would take 11,000 years (on a single 3GHz processor) were reduced to 45 days. In other words, exact splitting calculations are now possible, but still take a long time.

Besides expected value calculations, two software options can calculate tables used in counting theories that were derived by Peter A. Griffin in the "Theory of Blackjack." In brief, these calculations find the change in expected values caused by removing one specific card from the deck.

See Blackjack.html file in the documentation folder for details on compiling and running the calculations.

About

Software to calculate exact blackjack expected values

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages