Skip to content

Joshua-Sun-CompSci/PVZ

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PVZ

It's the classic Plants vs. Zombies game! You will need to plant plants to prevent zombies from eating your brains!

Features

  • Classic Tower Defense Gameplay: Players strategically place plants to fend off waves of zombies
  • Multiple Plant Types: Includes various plants, each with unique abilities (e.g., peashooters, sunflowers, wall-nuts) that add tactical depth.
  • Progressive Difficulty Levels: Increasingly challenging waves of zombies to test players' strategies and decision-making.
  • Resource Management: Sunlight generation and spending mechanics require players to balance offensive and defensive tactics.
  • User-Friendly Interface: Clear layout and simple controls for an intuitive gameplay experience.
  • Custom Graphics: Designed to replicate the fun, cartoonish aesthetic of the original game.
  • Efficient Game Logic in Python: Smooth performance (up to 100Hz) and optimized game loop implemented in Python 3.9

Requirements

  • Python 3.6+, using Python 3.9 is recommended
  • Pillow (Python Imaging Library)
  • Request

Installation

  1. Clone the repository:
    git clone https://github.com/Joshua-Sun-CompSci/PVZ.git
  2. Navigate to the project directory:
    cd PVZ/Game/
  3. Install the required dependency using pip:
    pip install pillow request
  4. Run the game:
    python TP.py

About

It's the classic Plants vs. Zombie game! You will need to plant plants to prevent zombies from eating your brains!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages