Hearthstone Sim

v1.0.0
io.github.GeminiGeorge22/hearthstone-sim Checked 2 days ago Published 10 days ago

Hearthstone simulator: mulligan odds, curve goldfish, draw odds, free deck check.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

hs_deck_check FREE Hearthstone deck check: deck codes, Standard/Wild, copies, class

FREE Hearthstone deck check: deck codes, Standard/Wild, copies, class. Paste a deck code (AAECA...) or the exported list. Decodes it and checks 30 cards (40 with Prince Renathal), max 2 copies / 1 Legendary, class cards, Standard sets for the current year; returns curve and card list. Data: HearthstoneJSON; always free. (free, no payment)

ParameterTypeDescription
deck_code *stringDeck code or pasted export
formatstringstandard | wild (default from the code)

hs_opening_hand_odds FREE Hearthstone opening hand odds for one card

FREE Hearthstone opening hand odds for one card. Chance a card you run 1 or 2 copies of is in your opening hand (3 cards going first, 4 going second), before mulligan. (free, no payment)

ParameterTypeDescription
cards *array[{"name":"Fireball","copies":2}]
on_playbooleangoing first, default true

hs_draw_odds FREE Hearthstone draw sim: exact odds to draw your cards by turn N

FREE Hearthstone draw sim: exact odds to draw your cards by turn N. Exact joint odds (no mulligan) of drawing one or more cards (up to 6 groups) by each turn, going first (3 cards) or second (4 cards). (free, no payment)

ParameterTypeDescription
cards *array[{"name":"Fireball","copies":2,"min":1}]
on_playbooleangoing first, default true
turninteger1-20, default 4

hs_mulligan_odds FREE Hearthstone mulligan sim: odds to find key cards with a mulligan

FREE Hearthstone mulligan sim: odds to find key cards with a mulligan. Seeded simulation of the Hearthstone mulligan (replacements never include the tossed cards) for up to 4 key cards: odds in the opening hand and by turn N, versus no mulligan. (free, no payment)

ParameterTypeDescription
cards *array[{"name":"Fireball","copies":2}]
going_firstbooleandefault true
iterationsinteger1000-50000, default 20000
seedintegerdefault 1
turninteger1-10, default 3

hs_curve_goldfish FREE Hearthstone curve goldfish simulator for a deck code

FREE Hearthstone curve goldfish simulator for a deck code. Seeded Monte Carlo goldfish: mulligan, draws, mana each turn, The Coin going second, best mana use per turn (exact subset search), and your goals ("play Techysaurus by turn 7"). Up to 20,000 games. (free, no payment)

ParameterTypeDescription
deck_code *stringDeck code or pasted export
goalsarray[{"card":"Fireball","turn":4,"cast":true}]
going_firstbooleandefault true
iterationsinteger100-20000, default 10000
seedintegerdefault 1
turnsinteger1-10, default 7