GenxiTechSolutions GenxiTech Solutions

🌱 Plants vs Zombies — C++ (SFML)

A C++ implementation inspired by Plants vs Zombies — built with object-oriented design and rendered using SFML. Place plants, fend off waves of zombies, and manage resources to survive the lawn!

🚀 Features


đŸ—ī¸ Design & Patterns

This project uses strong OOP principles and design patterns for a clean, extensible architecture.


🧱 Project Structure (UML-based)

Core classes & responsibilities:


🔧 Tech Stack

TechnologyPurpose
C++Core language and OOP implementation
SFMLGraphics, window management, audio, and events
Design PatternsFactory, Inheritance, Polymorphism, Composition

🎮 How to Play

  1. Select a plant from the inventory panel.
  2. Place the plant on the lawn grid (valid cells only).
  3. Plants auto-attack or generate resources; zombies approach in waves.
  4. Earn points by defeating zombies and survive waves to win.

📌 Future Improvements


📝 Authors & Credits


đŸ“Ļ Repository

🔗 View on github

Academic / Showcase Project