refactor(loldle): source all champion data from loldle.net

loldle.net's JS bundle ships the complete set of classic-mode axes in
plaintext, so ddragon merging is no longer needed. Scraper now produces
the final schema directly.

Schema changes: drop title, skinCount, image, and genre (ddragon-only).
Replace genre (class tags like Fighter/Mage) with species (Human/Darkin/
Vastayan) — the axis loldle.net actually uses. Promote region to a
multi-value field so multi-region champions compare correctly.

Handlers no longer show "Name — Title" on win/giveup.
This commit is contained in:
2026-04-22 13:19:10 +07:00
parent 9855b4d7d0
commit 0836f02ab8
8 changed files with 1443 additions and 5211 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import { renderBoard, renderGuess } from "../../../src/modules/loldle/render.js"
/** Mirror the shape compareChampions returns — only the fields render.js reads. */
const sampleResults = [
{ key: "gender", label: "Gender", result: "correct", guessValue: "Male" },
{ key: "genre", label: "Genre", result: "correct", guessValue: "Mage, Support" },
{ key: "species", label: "Species", result: "correct", guessValue: "Human, Darkin" },
{ key: "attackType", label: "Range", result: "correct", guessValue: "Ranged" },
{ key: "resource", label: "Resource", result: "correct", guessValue: "Mana" },
{ key: "region", label: "Region", result: "correct", guessValue: "Runeterra" },