r/askmath • u/bfbf10 • Oct 06 '26
Probability Deterministic Yahtzee, a potential mathematical puzzle
I have searched and haven't seen anything online along the lines of this puzzle, but do leave a comment if there is an analogous algorithm or model.
The hypothetical of Deterministic Yahtzee is as such:
The "game" follows traditional Yahtzee, with (up to) three rolls of five dice per round to maximise the scores on the 13 standard Yahtzee score catagories. However...
All of the future dice rolls are pre-determined and independent, such that rolling the dice produces the next predicted roll for itself without influencing the rolls of the other dice. The player, with perfect prediction, knows the order of each die's future numbers. You can imagine they received this on a sheet with 5 columns (one for each die) and 39 rows (a maximum 3 rolls per round).
The game proceeds as normal, with the player rolling all five dice and getting the first five numbers at the top of the prediction table. "Holding" a dice, and rolling the rest, will not result in the "skipping over" of any number in that die's column.
In such a deterministic situation there *must* exist a highest possible score for that table of dice rolls. Through brute force and guess work, it is conceivable, with enough time, for someone to find this best possible score. The real question however is...
Is there an algorithm or method for quickly and efficiently determining the highest possible score a given game of deterministic Yahtzee? And how would you go about it?
As a follow-up to this puzzle, if such an algorithm exists, what is the average maximum score for a given 5 by 39 array of possible rolls?
4
u/bfbf10 Oct 06 '26
The idea culminates in an idea for competitive deterministic yahtzee. In this game, two players are presented with the same 5 by 78 grid of all possible futures dice rolls for both players. Since both players are working against each other, strategies for leaving the opposing player with the worst next available dice rolls also potentially arise, resulting in a two player yahtzee-like game where players can actually influence each other's performance.
3
u/rdchat Oct 06 '26
Deterministic Yahtzee reminds me of duplicate bridge. https://en.wikipedia.org/wiki/Duplicate_bridge
Have you tried playing Deterministic Yahtzee?
2
u/MegaIng Oct 06 '26 edited Oct 06 '26
This sounds like it's really hard. I can't currently imagine how a "proof" looks like that shows that a sequence of actions results in the optimal score except as a proof of brute forcing, meaning this is outside of NP.
Edit: actually, I confused myself. If properly formulated this is in NP.
0
u/AMA_ABOUT_DAN_JUICE Oct 06 '26
https://www.youtube.com/watch?v=DOgb5wrb7mM