fasih-nasir/candycrush ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple Candy Crush style browser game that runs in a single webpage.
I want candies laid out in a grid, and the player should be able to drag and drop neighboring candies to swap them. If three or more of the same candy line up, they should disappear, the score should go up, and new candies should fall in with a nice refill animation. The game should have a timer, and when time runs out it should show a game over screen.
Make it look colorful and fun, with clean styling and smooth interactions. Please include the basic game logic, scoring, matching, refill behavior, and restart flow so it feels like a complete little game. Use plain HTML, CSS, and JavaScript, and keep it easy to run in a browser. If you need to check anything current while building it, look up the latest docs online.
Are you gonna build this?
make sure you review the code using coderabbit