The Odds: summary cards first, 'become a rider' card

Remove the 'Your odds, honestly' heading and intro. The two summary cards now
lead the page: 'become a rider' (runs that ended bonded to a dragon) and the
unchanged 'riders sent to Malek'. The reach-the-hour figure moves into the
first card's note.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UCzTd31GphpMXDhQqWrCMQ
This commit is contained in:
ekcSchiano
2026-11-02 16:35:44 +00:00
co-authored by Claude Opus 5.5
parent 754e4f1eb8
commit 3b3622a08a
2 changed files with 5 additions and 8 deletions
+3 -1
View File
@@ -171,9 +171,11 @@
const cb = r.chance.blue_meadow;
const bulkB = stratum(cb, "Bulk");
const tag = (txt) => `<span class="how">${txt}</span>`;
const bonded = Object.entries(r.meta.outcomes).filter(([k]) => k.startsWith("Bonded")).reduce((a, [, v]) => a + v, 0);
const dead = Object.entries(r.meta.outcomes).filter(([k]) => k.startsWith("Incinerated") || k.startsWith("Died")).reduce((a, [, v]) => a + v, 0);
const cards = [
{ c: "--accent", big: pct(reach.p), what: "reach the hour alive", how: `${reach.k.toLocaleString()} of ${reach.n.toLocaleString()} logged runs made it past the cadets to the tree-or-valley choice.`, w: reach },
// "become a rider" = the run ended bonded to a dragon (reaching the hour alive is not the same thing)
{ c: "--accent", big: pct(bonded / r.n), what: "become a rider", how: `${bonded.toLocaleString()} of ${r.n.toLocaleString()} logged runs ended bonded to a dragon. ${pct(reach.p)} made it to the tree-or-valley choice alive; most of the rest were burned at the encounter or died on purpose to try again.`, w: { k: bonded, n: r.n } },
{ c: "--death", big: dead.toLocaleString(), what: "riders sent to Malek", how: `${pct(dead / r.n)} of logged runs ended in fire or worse. Most were riders dying on purpose to try again.`, w: { k: dead, n: r.n }, death: true },
];
$("#odds").innerHTML = cards.map((c) => `<div class="odd${c.death ? " death deco" : ""}" style="--c: var(${c.c})"><span class="big">${esc(c.big)}</span><span class="what">${esc(c.what)}</span>${dots(c.w.k, c.w.n, cssVar(c.c))}${tag(c.how)}</div>`).join("");