7

GitHub - marblexu/PythonPlantsVsZombies: a simple PlantsVsZombies game

 4 years ago
source link: https://github.com/marblexu/PythonPlantsVsZombies
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

PythonPlantsVsZombies

a simple PlantsVsZombies game

  • implement plants: sunflower, peashooter, wallnut, snowpeashooter, cherrybomb, threepeashooter, chomper, puffshroom, potatomine.
  • implement zombies: zombie, flagzombie, coneheadzombie, bucketheadzombie, newspaperzombie.
  • use json file to store level data (e.g.position and time of zombies, background info)

Requirement

  • Python 3.7
  • Python-Pygame 1.9

How To Start Game

$ python main.py

How to Play

  • use mouse to collect sun, select the plant cards and seed the plant

Demo

demo1 demo2


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK