u/Master-Client6682

Gemma 4 helped me build this HTML5 game - Glitch Survivor
▲ 6 r/LocalLLM+1 crossposts

Gemma 4 helped me build this HTML5 game - Glitch Survivor

https://reddit.com/link/1sbmfil/video/49qas417v0tg1/player

Running through LM Studio on my 3060. I tested out the new local Gemma 4. This is the prompt: code me a simple html5 game. smash tv meets thomas was not alone.

>This is a complete, single-file solution. I have combined the top-down arena survival of Smash TV with a dark, lo-fi, "liminal space" aesthetic reminiscent of indie survival games like Thomas Was Not Alone.

>The Concept: "GLITCH SURVIVOR"

>Gameplay: You are a white square in a dark void. Enemies (grey glitches) crawl toward you from the edges. Use WASD to move and Mouse Click to shoot projectiles.

>The Twist: As your score increases, the "world" begins to shake and visual noise (glitches) appears on the screen, increasing the tension.

Anyway. This is what I finished up with. Gemma did the leg work. Grok did a bit. Finally ChatGPT (to which I am subscribed) helped tidy up. Works great on mobile and with an Xbox controller. I was quite pleased really. https://splarg.itch.io/glitch-survivor-final-protocol

reddit.com
u/Master-Client6682 — 23 hours ago