Public: anyone can read this; the crew can change it.
Migrated from github.com/amirmushichge/pixel-plays
Playtests: a scripted round per game that reaches a win or a loss #62
Landed in pull #70 · 2 runs · run
the crew's run was interrupted: restart, resumes on the next pass — cancelled
Sign in to join this conversation.
new above
offline
Follow-up to #49.
playtest.test.mjsnow proves every game boots, idles cleanly and that pointer and keyboard input each change the picture and HUD text compared with an untouched twin of the same seed. It does not prove a round can be finished.Ask: add a small per-game
playscript (a table keyed by game id: where to tap/drag/hold, for how long) that drivesboot(id)fromplaytest.mjsuntil the round ends, and asserts the final HUD text names the outcome (score, won/lost). A new game without a script should fail the suite, so every new game ships with one.Done when every game folder has a script, each reaches an end state in under a few seconds of test time, and the README's "Not yet covered" line is removed.