Dice button picks a random seed in the new-world dialog (t100)

This commit is contained in:
2026-10-29 22:14:40 -04:00
parent de6d2c1b33
commit 974e5a6272
9 changed files with 154 additions and 7 deletions
+12
View File
@@ -4,6 +4,18 @@ What agents have done, newest first. Add an entry for every piece of work: the d
note or request it was for, what changed, the files touched, the tests run, and anything left
open or not verified. Keep each entry short; the git history has the details.
## 2026-10-29: t100 new-world seed controls (Codex)
- Added a labeled dice button and shared seed parsing/random rule; ignore non-digits,
clamp above 4294967295 with a hint, preserve zero, and randomize empty on Generate.
- Files: src/shell.html, src/styles/style.css, src/ui/loop.js, test/t_seed.py,
test/run_all.py, docs/{DESIGN,TESTING,PROJECT_MAP}.md, tasks/t100* and this log.
- Ten seed checks failed against the unchanged build first. All 41 headless suites pass;
test/t_seed.py passes 21 checks (real clipboard/text drag and zero-world generation),
and pixel test/play.py shots/t100-play passes with no console errors. Browser runs
used host GPU access after sandbox WebGPU was unavailable. Inspected both-look
shots/t100-{pixel,smooth}.png and play/new-world.png. Map regenerated; nothing open.
## 2026-10-29: t87 reuse the near-miss view (Codex)
- Reused one scratch view, its entry array and get/has methods in src/sim/joins.js;