Let an AI play-test your game through a text harness

A developer wrapped a browser game so an AI could run playtests, reproduce bugs, and flag problems before each milestone.

Done with Custom agentยท Advanced

What they did
The developer built a Node.js layer around a browser-based crossword dungeon without changing the game files. That wrapper added a text view, synthetic key presses, and an HTTP interface, so the agent could interact with the game through curl requests. They also had it create fixtures for bugs and told it to test each milestone feature before advancing.
How it went
The agent got through milestone 13, which added five special encounters, in 12 minutes and used about 120k tokens. It found a cage bug and fixed it by itself. Manual playtesting was still useful and turned up more issues, but it took less than 30 minutes.
Tips
This works better for games driven by text and turns than for browser games that depend on screenshots. Keep a human pass in the loop, since the agent can miss some problems even when it does well.

Try it yourself with Claude Code

I have a game at [path]. Build a small test harness around it without changing the game files if possible. Expose the current game state as text or JSON, accept actions such as [moves/keys/commands], and let an AI agent play through [number] sessions. After each milestone or feature set, stop and wait for my approval before continuing to the next stage. For every issue you find, give a clear reproduction path, note any balance or usability problems, and separate anything you fixed from anything that still needs manual review. Finish with a plain play-test report.

Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.

Get 3 agent uses like this every morning

With the day's top AI news. Free, and one click to unsubscribe.