Score dice sheet
score_dice_sheetUse this when the user wants a five-dice score sheet scored: "score my sheet, full house [5,5,5,2,2]", "what did I score for chance [3,4,4,5,6]", "tally my dice game". Pass each played category with its 5 dice, and null (or omit) for skipped categories. Returns the category scores, the upper-section total, the 35-point upper bonus when the upper total reaches 63, five-of-a-kind bonuses (100 per repeat after the first 50; provide play_order for chronology, otherwise listed category order is assumed), the grand total, and a CSV of the sheet. It does not choose categories for you and is not for board games — use show_scoreboard for plain point totals.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheet | Yes | Score sheet state: map each category name to the five dice rolled (e.g. [5,5,5,2,2]) if you played that category, or null if you skipped it. Category keys: ones, twos, threes, fours, fives, sixes, three_of_a_kind, four_of_a_kind, full_house, small_straight, large_straight, five_of_a_kind, chance. | |
| play_order | No | Played categories in chronological order, e.g. [five_of_a_kind, chance]. Include each played category once. If omitted, assumes the listed category order (ones through chance) for repeat bonuses. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | Yes | ||
| csv_url | Yes | ||
| downloads | Yes | ||
| categories | Yes | ||
| upper_bonus | Yes | ||
| upper_total | Yes | ||
| five_of_a_kind_bonus | Yes |