sinshiao932-ctrl/pvz-test ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple browser game in the style of PvZ using the images and files already in this repo. I want it to feel like a custom fan made version, not super polished, but clearly playable from start to finish.
Please make the main page load the game properly, show a basic start screen, let the player pick plants, place them on a lawn grid, and fight off enemy waves. Use the existing plant, projectile, enemy, and miniboss art if it fits. The core loop should work, plants should attack, enemies should move toward the house, and the player should be able to win or lose. If there are already backup pages or partial logic here, reuse and clean that up instead of starting over.
Keep it all as a lightweight HTML, CSS, and JavaScript project that runs locally in the browser. Make the UI easy to understand even if the codebase is messy right now. If something is unclear, look at the current files and piece together the intended gameplay from there.
Have a live product UI? Try website reverse