marblexu/PythonPlantsVsZombies ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple Plants vs Zombies style game in Python that I can run from a main.py file.
I want the basic gameplay to feel like the original, where I collect sun, choose plant cards, and place plants on the lawn to stop waves of zombies. Please include the common plant types like sunflower, peashooter, wall nut, cherry bomb, snow peashooter, three pea shooter, chomper, puff shroom, potato mine, spikeweed, scaredy shroom, squash, jalapeno, sun shroom, ice shroom, and hypno shroom, plus the usual zombie types like regular, conehead, buckethead, flag, and newspaper zombies.
It should also support different level styles such as day, night, moving card selection, and wall nut bowling, with level data loaded from JSON so the zombie positions, timing, and background can be set per stage. Use simple graphics and controls that work with the mouse, and make it easy to change the starting level if needed. If you need to check anything, look up the current docs online.
Are you gonna build this?
make sure you review the code using coderabbit