Port a classic game codebase to run in the browser with Claude
Asked to explain the Pokemon Emerald codebase earlier this year, Claude refused; now asked to port that codebase to web browsers, it just did it.
Source
oceansky on Hacker News · 2026-10-22
Written in our own words. Credit to the original author. Link checked 2026-10-24.
What they did
Asked to explain the Pokemon Emerald codebase earlier this year, Claude refused; now asked to port that codebase to web browsers, it just did it.
Result (as claimed)
The game runs in a browser.
Tools they used
Cost: Pricing depends on the tools you pick; check each official pricing page.
Set it up
Write a one-page brief
Describe the app in plain words: who it is for, the 3 core screens or actions, and what "done" looks like.
Start the project with your agent
Open Claude and paste the brief. Ask it to propose a stack and a file plan before writing code.
Build one slice at a time
Ship the smallest working flow first, run it, then add features one by one. Commit after each working step.
Test it like a user
Click through on desktop and phone. Ask the agent to add basic tests and fix anything that breaks.
Check security and ship
Keep keys in environment variables, check auth and database rules, then deploy and share the link.
Copy the full setup prompt
Paste into your agent and it will walk you through the setup, asking before anything that sends, posts or spends.
You are helping me set up this AI use case end to end in Claude Code. Goal: Port a classic game codebase to run in the browser with Claude What the original author did: Asked to explain the Pokemon Emerald codebase earlier this year, Claude refused; now asked to port that codebase to web browsers, it just did it. Reported result (as claimed by the author): The game runs in a browser. Source: https://news.ycombinator.com/item?id=50197565 Tools they used: Claude Category: Vibe coding & apps Please: 1. Ask me 3 short questions about my situation (accounts I have, budget, what I want the output to look like). 2. Propose a step-by-step plan using these tools or cheaper alternatives, with the time and cost of each step. Use official pricing pages; say "check pricing" if unsure. 3. Then do the setup with me one step at a time, waiting for my OK before anything that sends messages, posts publicly, spends money or deletes data. 4. Finish with a checklist to run it again next time.
You are helping me set up this AI use case end to end in Codex. Goal: Port a classic game codebase to run in the browser with Claude What the original author did: Asked to explain the Pokemon Emerald codebase earlier this year, Claude refused; now asked to port that codebase to web browsers, it just did it. Reported result (as claimed by the author): The game runs in a browser. Source: https://news.ycombinator.com/item?id=50197565 Tools they used: Claude Category: Vibe coding & apps Please: 1. Ask me 3 short questions about my situation (accounts I have, budget, what I want the output to look like). 2. Propose a step-by-step plan using these tools or cheaper alternatives, with the time and cost of each step. Use official pricing pages; say "check pricing" if unsure. 3. Then do the setup with me one step at a time, waiting for my OK before anything that sends messages, posts publicly, spends money or deletes data. 4. Finish with a checklist to run it again next time.
You are helping me set up this AI use case end to end in Grok Bot. Goal: Port a classic game codebase to run in the browser with Claude What the original author did: Asked to explain the Pokemon Emerald codebase earlier this year, Claude refused; now asked to port that codebase to web browsers, it just did it. Reported result (as claimed by the author): The game runs in a browser. Source: https://news.ycombinator.com/item?id=50197565 Tools they used: Claude Category: Vibe coding & apps Please: 1. Ask me 3 short questions about my situation (accounts I have, budget, what I want the output to look like). 2. Propose a step-by-step plan using these tools or cheaper alternatives, with the time and cost of each step. Use official pricing pages; say "check pricing" if unsure. 3. Then do the setup with me one step at a time, waiting for my OK before anything that sends messages, posts publicly, spends money or deletes data. 4. Finish with a checklist to run it again next time.
The Daily 5
Get five new use cases tomorrow morning
Free. Real sources. Unsubscribe any time.
Guides for this use case
How to port or remake a classic game with AI · How to make a browser arcade game with AI · How to vibe code a game with AI
Related use cases
Turn your kid's game idea into a playable game in an hour
He challenged his 7-year-old to invent a game, put all her notes and ideas into Claude and Claude Code, and they built it together.
Recreate a 3D classic for the Game Boy Advance with software rendering
Octoberry shared that Opus 5.5 recreated Super Mario 64 for the Game Boy Advance with 4 playable levels, software-rendered 3D and the original movement and collision physics, at 30 fps on 98% of frames in mGBA.
Make your first game with no game dev experience using a chain of AI tools
A software engineer with zero game dev experience built a game with ChatGPT, Claude, Godot, Tripo, Blender MCP and ElevenLabs, and published the full workflow as a free playbook.
Port a web game to Godot and ship native iOS and Android builds
majidmanzarpour asked Claude Opus 5.5 to port one of his web games to Godot and bundle it for native Android and iOS; it finished in a few hours from a short prompt plus an interview.