This tool computes the mathematically optimal play for any bar dice position and your resulting chance of staying safe. Set up a position with the controls and the analysis updates instantly — it does not simulate or track a live game.
Bar dice is a bar game played with five standard dice. Players roll to build the highest-scoring hand, with aces (ones) acting as wild dice that count toward any face value. The goal is to score higher than the other players each round — the last player who fails to do so loses.
This tool uses game theory and backward induction to compute the exact optimal play for any position: which dice to keep, which to reroll, and when to stand pat. It also calculates your precise probability of staying safe given perfect play from all players.
A hand's score is the best value of (count + aces) × 10 + face across all faces 2–6. Aces are wild and boost whichever face produces the highest score. A hand with no ace scores zero. The highest possible score is 56 — five of a kind with sixes, boosted by an ace.
Set your dice using the visual dice or by typing digits in the search box. Open Game Context to enter the number of players, your seat, the score you need to beat, and how many rolls remain. The Analysis section immediately shows the optimal decision and your probability of staying safe. Expand Score Distribution or Keep Alternatives for a deeper look at the position.