Sefa177/snake-game ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple retro snake game that runs in the browser and feels good on both desktop and phones.

I want the snake to move with arrow keys or WASD, with swipe controls and on screen buttons for mobile. Pressing Space should start or restart the game, and there should be a pause control too, plus automatic pause when the tab loses focus. The game should have easy, medium, and hard difficulty, and let me choose between solid walls or wrap around walls. Make the snake grow when it eats food, speed up every few foods, and show a score and level as it plays. Add occasional special gold food that gives extra points and disappears if I don’t grab it fast enough. Also include a simple top scores list saved in the browser, a mute toggle for the sound, and a clean retro look with canvas graphics. If you need current browser or WebAssembly details, look them up online first.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab