Back

Build a simple playable browser game from a spec

A self-contained HTML game file with controls list and notes on simplifications

Engineering
Prompt

Build me a playable browser game from this spec: [game concept and rules, e.g. a one-button endless runner where you jump over obstacles and speed ramps up]. If I name a reference game [e.g. a popular block-stacking puzzle], look up how it plays and borrow the core mechanic only. Use your own name, art, and text. Deliver one self-contained HTML file: inline CSS and JavaScript, no external libraries. Include a start screen with controls, the core loop, a score, and a game-over screen with restart. Add these features: [features wanted, e.g. local high score, sound toggle, touch controls]. For visuals use [assets, e.g. simple shapes and colors, or image links I paste]. If an unclear rule would change how the game plays, ask me before building. When done, open the file, play a few rounds, and fix anything broken. Hand back the file, a short controls list, and any spec items you simplified or skipped.