mirror of
https://github.com/tiennm99/tiennm99bot.git
synced 2026-10-14 14:17:58 +00:00
refactor(loldle): trim module to current behavior only
KV payload cleanup: - drop lastResultAt from stats (never read) - drop solved/giveup flags from game state (round is immediately replaced after finish, making the flags transient noise) - skip redundant saveGame on winning/giveup/out-of-guesses paths; startFreshGame overwrites anyway Code cleanup: - delete daily.js + daily.test.js (pickDaily/todayUtc were speculative "future use" — only pickRandom was wired in, inlined into handlers) - drop the dead switch default in compare.js - trim file preambles across the module Docs: rewrite README around current behavior with loldle.net as the sole data source; update scraper header to match the raw schema.
This commit is contained in:
1 parent
f1ea74b0c5
commit
57832c3a6c
12 files changed
+140
-293
No files matched your search
@@ -42,9 +42,7 @@ jobs:
|
||||
title: "data: weekly loldle.net champion refresh"
|
||||
body: |
|
||||
Automated weekly refresh of `src/modules/loldle/champions.json`
|
||||
from loldle.net's JS bundle — the canonical source for all
|
||||
classic-mode fields (`gender`, `species`, `resource`,
|
||||
`attackType`, `region`, `lane`, `releaseDate`).
|
||||
from loldle.net's JS bundle.
|
||||
|
||||
Review the diff, merge, then run `npm run deploy` to ship.
|
||||
add-paths: src/modules/loldle/champions.json
|
||||
Reference in new issue
Block a user