Vibe code an HTML5 browser game
The developer of Xenodochium built the game with Gemini, hit repeated errors, and worked around them by starting a fresh chat.
What they did
The developer talked Gemini through the goal, expectations and existing code, then narrowed the scope over a few prompts before asking for output. Gemini returned an updated script, then the chat kept failing with a generic error. The developer opened a new chat, fed it all the related scripts plus the error, and iterated on its fixes until one worked.
How it went
They ended up with a working inventory manager for basic resources, with placeholders for more complex items. Along the way Gemini's fixes introduced new errors, and its internal markup leaked into the code output.
Worth knowing
Chats can stall with 'Something went wrong'. Starting a fresh chat and re-supplying all related scripts got past it. The developer is considering one chat to draft the prompt and another to write the code.
Labels
The developer of Xenodochium built the game with Gemini, hit repeated errors, and worked around them by starting a fresh chat.
Gemini returned an updated script, then the chat kept failing with a generic error.
The developer of Xenodochium built the game with Gemini, hit repeated errors, and worked around them by starting a fresh chat.
The developer of Xenodochium built the game with Gemini, hit repeated errors, and worked around them by starting a fresh chat.
The developer opened a new chat, fed it all the related scripts plus the error, and iterated on its fixes until one worked.
The “Material” label failed its quality check and is not used for selection.
Details
- Agents
- Gemini
- Source
- other
- Source date
- undated
- Accounts
- 1
- In registry since
- Oct 12, 2026