How the KCD2 Dice Solver works
How the KCD2 Dice Solver scores a throw, computes each dice set's exact expected value, searches for the best six dice, values badges, and where its numbers are estimates.
Scoring
Scoring is the Kingdom Come wiki's table for the game's Farkle variant. A throw scores the best way of splitting its dice into combinations; dice left over score nothing.
| Combination | Points |
|---|---|
| Each 1 | 100 |
| Each 5 | 50 |
| Three 1s | 1000 |
| Three of a kind (2-6) | 100 x face |
| Each die beyond three of a kind | doubles the set |
| Straight 1-5 | 500 |
| Straight 2-6 | 750 |
| Straight 1-6 | 1500 |
Expected score per throw
The expected value is exact. Scoring depends only on how many of each face a throw shows, so the six dice are convolved into a distribution over those counts: at most 924 of them, instead of 46,656 ordered outcomes. The bust chance and the 90th-percentile throw come from the same distribution.
Choosing the six dice
The solver evaluates whole sets, because a set's value is not the sum of its dice. Dice with identical face odds are pooled first (several of the game's dice are plain fair dice under different names). Small inventories are enumerated exhaustively and reported as provably optimal; larger ones use a multi-start steepest-ascent local search and are reported as not proven.
Points per turn
Turn value depends on how you play, so it is a seeded Monte Carlo simulation of an explicit policy: hold the subset that maximises points plus 60 for each die left to throw, and bank at 300.
Badges
A badge only takes effect when the opponent brings a badge of the same tier, so the solver recommends one badge per tier rather than one overall winner.
- The five badges that change the scoring table (the three Advantage formations, the gold Emperor's and Tyche badges) are valued exactly, by re-running the whole dice search with the rule switched on. Equipping one can change which dice you should bring.
- The rest are simulated one charge at a time, on paired random streams, so the measured difference is the badge and not a different run of luck.
- Badge points-per-game figures rank badges against each other; they do not predict a scoreline.
What the numbers are not
- Balatro's die has no published face odds. It is modelled as a fair die whose 1 is replaced by its joker face.
- The Devil's head joker matches any combination but never scores on its own; Balatro's joker can be held alone as a 1.
- The point values of the three Advantage formations and the Headstart leads are not published. The solver uses marked estimates you can correct in the app.
- The wiki and Inara disagree on about six dice. The wiki is treated as canonical.
Sources
- Dice (KCD2) on the Kingdom Come wiki: face odds and the scoring table
- Inara dice list: cross-check for the face odds
- Open the solver: enter your dice and get the best loadout