The Odds: shorten the 'become a rider' note
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UCzTd31GphpMXDhQqWrCMQ
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
3b3622a08a
commit
3d1c09138d
+1
-1
@@ -175,7 +175,7 @@
|
|||||||
const dead = Object.entries(r.meta.outcomes).filter(([k]) => k.startsWith("Incinerated") || k.startsWith("Died")).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 = [
|
const cards = [
|
||||||
// "become a rider" = the run ended bonded to a dragon (reaching the hour alive is not the same thing)
|
// "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: "--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.`, 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 },
|
{ 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("");
|
$("#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("");
|
||||||
|
|||||||
Reference in New Issue
Block a user