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
+4
View File
@@ -94,6 +94,10 @@ screenshots go to `shots/t72-{retrace,escape,open}.png`.
## Browser tests
- `python3 test/t_seed.py` checks the new-world seed field: typed and pasted text,
real text dragging, clamping at 4294967295, zero and empty seeds, keyboard dice
activation, automatic/custom names and real generation with seed zero. Both-look
screenshots of the dice and limit hint go to `shots/t100-{pixel,smooth}.png`.
- They need the `.venv` from README.md → Develop; plain `python3` switches to it on its own.
- `test/play.py` (about 2.5 minutes) builds a world through the title screen and plays it with real
input. It checks the tools, building, copy/cut/paste, undo, the build menu, filters, pipes,