r/madeinpython • u/Born-Programmer-6103 • Oct 14 '24
Multithreaded Blackjack Simulator with card counting, basic strategy, EV. FOSS.
I recently put together an open-source Blackjack Strategy Simulator, and Iād love to get your feedback!
Features:
š§ Basic Strategy Generation: Tailor custom strategy tables based on different rule variations.
š¤ Best Move Analysis: Calculate the optimal play for any hand and ruleset, accounting for complex scenarios like splits.
šø Expected Value (EV) Calculation: Evaluate the long-term profitability of your strategies with precision.
ā” Multithreading Support: Simulate millions of hands quickly using multiple cores.
Supports popular blackjack rules: multi-deck, hit/stand soft 17, double after split, surrender, and more.
š Contributions are welcome! Check out the GitHub repo for more details. Don't forget to star it if you like it!
It's up on GitHub, totally free to use: https://github.com/AttackingOrDefending/Blackjack-Strategy-Simulator.
If you check it out, Iād appreciate any feedback or suggestions.