ganlvtech/phaser-catch-the-cat — reverse-engineered prompt

Reverse engineered prompt

Build me a little browser game like Catch the Cat. I want a grid of round dots where the player clicks dots to turn them into walls, and after every click the cat moves one step. The goal is to trap the cat before it reaches the edge of the board and escapes. It should feel polished and playable right away, with a clear win or lose message and a simple status bar.

Please make it easy to drop into a web page by loading a script and attaching the game to a chosen div. I want a config object for things like board width and height, circle radius, starting wall count, background color, where to mount it, status text alignment, and a small credit label. Also expose the cat movement logic so I can swap in my own solver function later, where the solver picks one of the six movement directions or gives up. Use current docs online if you need to, and make sure the default version runs cleanly in the browser.

Want more depth? Deep Reverse