omgupta4546/simon-game ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple Simon game in the browser that feels polished and fun to play.
I want four colored buttons on the page that light up and play sounds in a random pattern, then the player has to repeat the sequence by clicking the same colors in order. Each round should add one more step, keep score, and show when the player gets it right or makes a mistake. When the player loses, it should clearly say game over and let them start again easily.
Make it look nice with clean styling and obvious button states for normal, highlighted, and clicked. Use the sound files in the project if they fit, and make sure the game works smoothly with simple keyboard or mouse interaction. If anything is missing, set up whatever basic HTML, styling, and script logic is needed so the game runs from the main page. If you need to check current browser behavior or best practices, look up current docs online first.