Show HN: Blackjack Strategy Simulator – The Ultimate Tool for Optimal Blackjack

github.com

3 points by born-programmer a day ago

Hey HN!

I’m excited to share the Blackjack Strategy Simulator, an open-source project that simulates every possible blackjack scenario to uncover the optimal move, generate custom basic strategy tables, and calculate the expected value of any strategy—all tailored to your unique ruleset.

Features:

- Custom Basic Strategy Generation: Create strategy tables for specific blackjack rules, with true count deviations for card counting.

- Best Move Analysis: Simulate every possible scenario, including splits, to find the best action for any hand.

- Expected Value (EV) Calculation: Evaluate the profitability of different strategies, with built-in options for basic, card counting, and optimal strategies.

Fully Customizable:

- Supports various rules: decks count, dealer actions (hit/stand on soft 17), double after split, peeking, surrendering.

- Multithreaded to speed up simulations.

Try It Out:

- GitHub Repository (https://github.com/AttackingOrDefending/Blackjack-Strategy-S...) – Check out the README for setup instructions.

- Docs (https://Blackjack-Strategy-Simulator.readthedocs.io/en/lates...) – Get detailed usage instructions.

- Contributions and feedback are welcome!

Give it a spin and let me know what you think.