SAR82/F_ZOP
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
Plants vs. Zombies Game Introduction This is a simple implementation of a Plants vs. Zombies game using Qt framework. The game involves two players: one placing plants and the other placing zombies. The goal for the plant player is to prevent zombies from reaching the left edge of the screen, while the goal for the zombie player is to get the zombies to the left edge. Features Plants and Zombies Selection: Choose from different types of plants and zombies, each with unique abilities and costs. Plant and Zombie Placement: Place plants on a grid and zombies on specific rows. Zombie Movement: Zombies move towards the left edge of the screen. Pea and Boomerang Shooting: Plants shoot peas or boomerangs at zombies. Collision Detection: Handle collisions between zombies and plants, as well as peas and zombies. Score Management: Track and update scores for both plant and zombie players. Timed Gameplay: The game includes a timer for the game duration. Prerequisites Qt framework (Qt Creator recommended) C++ compiler