This project is a custom-built clone of Plants vs. Zombies, developed during the summer session of the first year at Tsinghua University as a final individual assignment. Built using C++ and the Qt framework, the game simulates core gameplay elements of the original, with a clean, functional interface.
Key features include:
- Menu Interface: The game opens with a simple GUI menu featuring "Play" and "Quit" options, allowing for straightforward navigation.
- Playable Mechanics:
- Three implemented plants:
- Sunflower: Generates sun points periodically.
- Peashooter: Fires bullets to attack zombies.
- Wallnut: Acts as a shield to slow down zombies.
- Basic Zombie AI: Zombies approach from the right and interact with plants appropriately.
- Resource Management: Sun points are collected and spent to place plants on a grid-based lawn.
- Graphics: Original game sprites and animations are integrated to closely mimic the visual style of the original.