Yahtzee Large Straight Validity Check
Validate five distinct consecutive fair-d6 outcomes as observed large straight; duplicates and missing endpoints remain false, no joker substitution.
Description
A large straight uses all five consecutive faces.
A large straight uses all five consecutive faces. Duplicate faces prevent five-face coverage.1
Enter exactly five integer dice 1–6. Return straight flag and its high face, or −1 when absent.
When to use Yahtzee Large Straight Validity Check
Use Yahtzee Large Straight Validity Check when you need to evaluate the supplied records under the calculation and evidence rules below. No reroll strategy or other categories are scored.
Prepare the supplied game state, observations and explicit variant settings. Follow the card, board, coordinate and state conventions in the calculation rules.
How to use Yahtzee Large Straight Validity Check and understand its results
- Prepare the supplied game state, observations and explicit variant settings. Follow the card, board, coordinate and state conventions in the calculation rules.
- Enter fiveDice using the field table and calculation rules, then run the tool.
- Read validLargeStraight, straightHighFace. The explanation below defines the units, signs, ordering and any flags or placeholder values.
- If the tool reports an input issue, correct the values and run it again. Apply the stated assumptions when interpreting a successfully returned result.
| Input field | Meaning | Value type; see rules below | Requirement |
|---|---|---|---|
| fiveDice | Five dice | list of number | Required |
Enter exactly five integer dice 1–6. Return straight flag and its high face, or −1 when absent.
valid=distinctFaces=5 and maximum−minimum=4 Units, indexing, boundary conditions and exceptional cases are defined in the calculation rules above.
| Output field | Meaning | Value type |
|---|---|---|
| validLargeStraight | Valid large straight | boolean |
| straightHighFace | Straight high face | number |
{
"input": {
"fiveDice": [
2,
3,
4,
5,
6
]
},
"output": {
"validLargeStraight": true,
"straightHighFace": 6
}
} Limitations and assumptions
No reroll strategy or other categories are scored.
Numeric inputs, where present, must be finite. Follow the calculation-specific rules for overflow, underflow and exceptional cases. Numeric lists are limited to 10,000 entries; string lists to 128 strings of at most 128 characters each. The rules above may impose smaller limits. Missing required fields, extra fields, wrong value types and violations of the calculation rules are input errors. A successfully returned false flag is an evaluated outcome; its meaning is explained above.
Alternative or Complementary methods
Use Yahtzee Full House Validity Check: A full house normally combines three equal dice and a different pair. Whether five equal dice count is a variant rule. For a complementary task, use Yahtzee Upper Bonus 63 Check: The Yahtzee upper section totals the six face categories. A bonus check needs a declared threshold and award.
References
-
Yahtzee Large Straight Validity Check — tool.io
Similar or alternative tools
- Yahtzee Full House Validity Check
A full house normally combines three equal dice and a different pair. Whether five equal dice count is a variant rule.
- Yahtzee Upper Bonus 63 Check
The Yahtzee upper section totals the six face categories. A bonus check needs a declared threshold and award.