Engine shape
The app uses exact probability where the target can be modeled cleanly, then falls back to seeded Monte Carlo
simulation for more complex scenarios. The seed makes simulation runs reproducible, and heavier calculations run
through a worker so the interface can stay responsive while the deck changes.
- Exact probability and hypergeometric calculations for target conditions.
- Seeded simulation with configurable sample counts.
- Distribution, flow-stage, comparison, and sensitivity charts.
- Local persistence for decks, targets, and ruleset settings.
Why it belongs
HandForge started as a favor for a friend, which is part of why it works as a portfolio piece. It was not built
around a vague product thesis; it was built around one person trying to make better calls while tuning a deck.
That constraint kept the app honest: take a real decision, turn the hidden math into a usable interface, and make
the result inspectable enough that a player can trust it without becoming the probability engine.