# How to use Replit Agent to debug a game alpha

Replit Agent helped debug a Phaser escape-game alpha, while Zhou supplied art, logs and review; a broken cleanup required Git rollback and manual repair.

Agent: Replit Agent (via Replit Agent with Plan and Assistant modes)
Tools: Replit Agent, Phaser, JavaScript, Git
Category: Games & simulation
Date: 2025-10-07

Outcome: A working first desktop alpha level emerged, with corrected rendering and image state but a failed agent cleanup requiring human rollback.

## Steps

1. Zhou constrained the game stack, supplied artwork and broke the specification into smaller tasks.
2. Replit’s tools debugged high-density rendering and a lingering item image using observed behavior and logs.
3. After a log-cleanup change broke the game, Zhou restored a working commit and completed that cleanup manually.

Human oversight: Zhou supplied assets, reviewed code differences, reproduced bugs and gathered player feedback; they used Git rollback and manual cleanup when the agent’s change failed.

Source: [H.J. Zhou — Substack](https://hjzhou.substack.com/p/learnings-from-vibe-coding)

Canonical URL: https://agentsinuse.com/use-cases/replit-agent-to-debug-a-point-and-click-alpha/
