Dice beside every roll; click them for the odds of each outcome #48

Merged
kathleen merged 1 commits from site/dice into main 2026-11-19 21:25:17 +00:00
Owner

A pair of dice now marks every step the game decides at random, not the rider. Clicking the dice, or pressing Enter on them, opens a small popover listing each outcome of that roll with its odds. Escape, scrolling or a click elsewhere closes it.

  • site/atlas/dice.js (new): Dice.html for text, Dice.svg for the maps, and Dice.legend for the keys. Clicks are caught first, so clicking the dice on a map doesn't also select what's underneath.
  • Route map (Deep Dive):
    • dice after each "game roll" heading (first sighting, encounter), showing the share of riders at each outcome in the runs shown;
    • the legend reads: dice and gold headings = steps the game rolls at random.
  • Valley map:
    • dice on the "roll" and "shadow" labels of a route, with the model's odds given the route so far;
    • the "First dragon" step in the route list;
    • the first-sighting card;
    • the guide's own roll notes (the guide gives no odds, and the popover says so);
    • the bot's answers that led to different screens;
    • a legend line under the route key.

Checked in a browser: the popovers open with the right odds (for example, the first dragon on the route to the Red is 51% Red and 47% Brown), the legends read on one line, and there are no page errors.

🤖 Generated with Claude Code

A pair of dice now marks every step the game decides at random, not the rider. Clicking the dice, or pressing Enter on them, opens a small popover listing each outcome of that roll with its odds. Escape, scrolling or a click elsewhere closes it. - **`site/atlas/dice.js`** (new): `Dice.html` for text, `Dice.svg` for the maps, and `Dice.legend` for the keys. Clicks are caught first, so clicking the dice on a map doesn't also select what's underneath. - **Route map (Deep Dive):** - dice after each "game roll" heading (first sighting, encounter), showing the share of riders at each outcome in the runs shown; - the legend reads: dice and gold headings = steps the game rolls at random. - **Valley map:** - dice on the "roll" and "shadow" labels of a route, with the model's odds given the route so far; - the "First dragon" step in the route list; - the first-sighting card; - the guide's own roll notes (the guide gives no odds, and the popover says so); - the bot's answers that led to different screens; - a legend line under the route key. Checked in a browser: the popovers open with the right odds (for example, the first dragon on the route to the Red is 51% Red and 47% Brown), the legends read on one line, and there are no page errors. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
kathleen added 1 commit 2026-11-19 21:23:16 +00:00
- site/atlas/dice.js: a pair of dice marks a step the game decides at random (not the rider's choice). Clicking
  (or Enter on) the dice opens a small popover with every outcome of that roll and its odds; Escape, scrolling or
  a click elsewhere closes it. Dice.html for text, Dice.svg for the maps, Dice.legend for the keys.
- Route map: dice after each "game roll" heading (first sighting, encounter), with the share of riders at each
  outcome in the runs shown. Legend: dice and gold headings = steps the game rolls.
- Valley map: dice on the "roll" / "shadow" labels of a route (the model's odds given the route so far), on the
  "First dragon" step of the route list, in the first-sighting card, on the guide's own roll notes (no odds:
  the guide gives none) and on the bot's answers that led to different screens. Legend under the route key.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UCzTd31GphpMXDhQqWrCMQ
kathleen merged commit 77f146393d into main 2026-11-19 21:25:17 +00:00
kathleen deleted branch site/dice 2026-11-19 21:25:17 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DragonKind/threshing-atlas#48