roselynpinango/AI4Devs-videogame-202603 — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a small browser video game for this class project using plain HTML, CSS, and JavaScript. I’d like it to be a simple Snake style game that opens from an HTML file and works in a normal web browser.

The player should be able to start the game, move the snake with the keyboard, collect food, see their score, and get a clear game over message when they hit a wall or themselves. Please make it look clean and fun with CSS, and include a restart option so it’s easy to play again.

Put everything in its own game folder, with the HTML, CSS, and JavaScript separated clearly. Also add a prompts.md file that explains the prompts used and a short note about how the game was built and tested.

Please keep it simple enough for a beginner class project, but make sure it actually works when I open it in the browser.

Want more depth? Deep Reverse