Bash.tv → GitHub → itch.io

Beta, untested. Let a bot play a 2D or DOM browser game on its own through browser automation: it tries key holds, taps and drags, learns which inputs change the screen, seeks screens it hasn't seen, gets itself unstuck from menus and game-over screens, samples a state value, and reports dead controls, stuck stretches, errors, game-overs, a screenshot timeline and a fun-probe session. Not for W...

Download skill (.zip) Files on GitHub

Game playtest agent

Beta: this skill is new and has not been tested yet. It is still being improved. Check its results carefully and say what goes wrong.

python3 scripts/playtest-agent.py http://localhost:8080 --seconds 45 --out pt
python3 scripts/playtest-agent.py URL --keys "ArrowLeft,ArrowRight,Space" --no-pointer --start "#play" --state "__game.scenes.stack[0].score"
python3 scripts/playtest-agent.py URL --size phone --runs 3 --seconds 30

Writes pt/REPORT.md, report.json, timeline.png, and fun-session.json when the game has a fun probe on window.__fun (game-fun-auditor).

How it plays

Each step it picks an input, weighted toward inputs that changed the screen and led to new screens; holds keys for 80-600 ms; compares the screen before and after (ignoring changes that would have happened anyway); and after several steps with nothing changing, tries Enter, Space, a center tap and Escape. It reads the largest 2D canvas, or the page text for DOM games.

Reading the report

For scripted checks (press Play, expect the score to rise) use playwright-game-testing; this bot is for exploring.

Limits

It plays like a confused beginner: it finds crashes, dead controls and soft-locks, not whether the game is fun. WebGL and WebGPU games: don’t run it in the GPU-less sandbox browser; use check_gpu_render with scripted actions, or the viewer’s preview.

Pitfalls

Running it on a WebGL game in the sandbox, reading “no errors” as “works”, and not passing the game’s real keys.