Original caption
AI is getting to the point where you can build a surprisingly complete game without manually directing every step. But the secret is not simply asking an AI chatbot to “make me a game.” The method is called loop prompting, or what creator Matt Shumer calls a “Gauntlet Loop.” Instead of generating one version and stopping, the AI repeatedly builds, tests, reviews, and improves its work. To do this, you need an AI coding agent like Codex or Claude Code. Unlike a normal chat, these agents can edit files, run the game, inspect the result, use development tools, and create additional agents for different parts of the project. The process works like this: - You give the lead agent a clear goal, such as building a kart racing game, but avoid prescribing every technical decision. This gives the agent room to determine the best approach. -Then you give it a real quality bar. Instead of saying, “make it look amazing,” you provide an existing game, screenshots, gameplay footage, or another concrete reference it can compare its work against. -Next, the lead agent breaks the game into smaller pieces. The driving, tracks, lighting, environments, menus, sound, and effects can each have their own builder agent. Most importantly, the builder does not review its own work. A separate critic agent inspects the result, compares it against the reference, identifies the biggest weakness, and sends it back to the builder. The builder fixes it, the critic reviews it again, and the loop continues. That separation matters because an AI that created something is often better at explaining its decisions than objectively judging whether the result is good. The basic formula is: Set the goal.
Give it a real example of quality.
Split the project into smaller parts.
Use separate builders and critics.
Keep looping until the result reaches your standard. This method can be used for more than games. The same idea can be applied to websites, software, product design, writing, research, and other work that can be inspected and improved. I linked the full Gauntlet Loop guide in my bio, including the prompt you can adapt to start building your own game with AI.