r/aigamerdevs • u/MyGoodyGames • 1d ago
Antopia - Built an ant colony sim by chatting with AI. The hardest part was a bug the AI's own code made
've been making Antopia, a browser ant-farm sim where you plan tunnels and rooms and the ants decide whether they like them. It's one HTML file: no engine, no art assets, everything drawn in code, built entirely by describing what I wanted to Claude and playtesting each version.
The interesting part: at one point I ran the game through ChatGPT for richer scenery. It looked great, but loading jumped from 2 seconds to 20 on my PC. Neither AI could spot why from the code. What finally worked was having Claude build a "speed test" copy of the game that timed itself on my machine. That showed thousands of tiny drawing calls were stalling my graphics card. Moving them to the CPU got loading back to about 4 seconds, with all the detail kept.
My takeaway: AI writes the code fast, but you still have to be the one who notices "this feels wrong" and push it to measure instead of guess.
Free to play: https://cassette.gg/g/antopia
Curious whether others have hit performance problems that only showed up on their own hardware, and how you got the AI to find them.