- Define invariants
- Generate game
- Automated playtest
Daily Incremental Game Generator with Claude Code
A harness that uses Claude Code to design, build, and playtest a fresh incremental game every day.
Via Hacker News · nickdirienzo ↗The Gemini Plays Pokémon agent reads game RAM and screenshots, turns actions into button presses, and uses pathfinder and boulder-puzzle sub-agents.
“Play Pokémon Blue with an agent” is a Games & Simulations AI agent workflow from Any. It connects Gemini in 3 steps.
The Gemini Plays Pokémon agent reads game RAM and screenshots, turns actions into button presses, and uses pathfinder and boulder-puzzle sub-agents.
An independent developer, Joel Zhang, built a harness that gives Gemini 2.5 Pro a subset of Game Boy RAM as text, overlaid on a screenshot. Gemini picks actions that become button presses. The harness summarizes history every 100 turns and runs a critic instance every 25 turns. It also provides pathfinder and boulder-puzzle sub-agents, which are prompted Gemini instances.
The agent beat Pokémon Blue in 813 hours on run 1, then in 406.5 hours on a fully autonomous second run. It looped on long contexts, hallucinated items from other games, and handled raw pixels poorly.
The model struggled to read raw screen pixels, so the RAM-to-text translation was needed. Behavior also degraded once context grew well past 100k tokens.
Help me build an agent that plays [game, e.g. Pokémon Blue] in an emulator at [emulator path or setup]. It should read the game state from [RAM or screenshots], decide on an action, and send it as button presses, with a simple helper for [subtask, e.g. pathfinding]. You're done when it can play for [number] steps on its own and log what it decided at each step.
The Gemini Plays Pokémon agent reads game RAM and screenshots, turns actions into button presses, and uses pathfinder and boulder-puzzle sub-agents.
You need Gemini.
The guide walks through 3 steps, starting with “What they did”.
A harness that uses Claude Code to design, build, and playtest a fresh incremental game every day.
Via Hacker News · nickdirienzo ↗Wire an open-source Civ clone to expose game state and actions so a GPT agent can play turns without screen scraping.
Via Hacker News · Routine8502 ↗Use an AI coding agent to build an ahead-of-time static recompiler that turns a Steam game into a native ARM64 Mac app.
Via Hacker News · adrbn ↗Built this workflow? Show it is featured on AgentUseHub with a live upvote count that links back here. About badges