Remix.run Logo
Show HN: Blackjack Strategy Simulator: Data-Driven Decision-Making in Blackjack(github.com)
1 points by born-programmer 12 hours ago

Hey HN,

I created the Blackjack Strategy Simulator—an open-source, Python-based tool for blackjack.

--- What it Does: - Simulate Every Scenario: Generate custom basic strategy tables tailored to specific rule sets. - Expected Value (EV) Calculation: Test profitability of strategies using Monte Carlo simulations with multithreading support. - Best Move Analysis: Evaluate the optimal action for any hand in any situation, accounting for complexities like card splits.

--- Key Features: - Customizable Rule Sets: Supports deck variations, S17/H17, DAS, surrender, and dealer peeks. - Multithreading: Speeds up strategy generation and EV calculations with support for all available cores. - Advanced Tools for Developers: - Save, load, and plot strategy tables. - Test built-in and custom strategies with extensible `action_strategies` and `betting_strategies` modules. - Modify deck compositions to mimic card-counting scenarios.

The tool comes with readable and modifiable Python code—perfect for building your own experiments or even integrating with other tools.

--- Resources: - Repo: [Blackjack Strategy Simulator on GitHub](https://github.com/AttackingOrDefending/Blackjack-Strategy-S...) - Docs: [Full Documentation](https://Blackjack-Strategy-Simulator.readthedocs.io/en/lates...)

I’d love feedback, feature requests, or contributions.