Route planner: the solver's options and odds drawn on the valley map
- New "Route Planner" tab: pick a dragon colour, a goal (only this dragon / best odds this run) and a data sample. The solver runs in the browser from policy.json and walks the valley: every decision shows each option's chance of bonding the colour (with the best play afterwards) and of reaching an encounter alive; every roll shows its probabilities; deaths show where they happen; "stays best in N% of re-runs" and "no clear winner" flag noisy recommendations. Click any option on the map or in the list to explore another branch. - solver.js: values now carry P(reaching an encounter alive); advisor.step() gives the planner the next decision, roll or outcome at any history. - valley.js shares its painting with the planner. - Fix: route-map target chips no longer capture clicks on other chip rows. - Pages build gets a doctype and charset. 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
d2ffb84b5e
commit
bdf66afabc
+1
-1
@@ -217,7 +217,7 @@
|
||||
};
|
||||
$("#targets-rare").innerHTML = RARE_T.map((t) => chip(t, t.startsWith("bond"))).join("");
|
||||
$("#targets-other").innerHTML = OTHER_T.map((t) => chip(t, false)).join("");
|
||||
$$(".tchip").forEach((b) => b.addEventListener("click", () => { state.target = b.dataset.t; $("#best-routes").innerHTML = ""; renderTargets(); renderMap(); }));
|
||||
$$(".tchip[data-t]").forEach((b) => b.addEventListener("click", () => { state.target = b.dataset.t; $("#best-routes").innerHTML = ""; renderTargets(); renderMap(); }));
|
||||
}
|
||||
const ORDER = {
|
||||
company: ["Alone", "1 Squadmate", "2 Squadmates", "Unknown"],
|
||||
|
||||
Reference in New Issue
Block a user