Humans vs Zombies

In the enthralling world of Human vs. Zombie, I've crafted a captivating predator-prey simulation game using the power of C++ and object-oriented programming principles. At the heart of this game lies the concept of polymorphism, where each organism, be it a resilient human or a relentless zombie, is represented as an object with its unique attributes and behaviors. Leveraging the flexibility of polymorphism, I've designed a robust framework where these creatures interact dynamically within a 20x20 grid, each governed by its set of rules and actions.

In this immersive gameplay experience, time unfolds in discrete steps, with humans and zombies engaging in a primal struggle for survival. With a keen eye for detail, I've meticulously implemented the movement, breeding, and feeding behaviors for both species. Humans navigate the grid with randomness, seeking to breed and propagate their kind when conditions allow. Meanwhile, zombies lurk in the shadows, driven by their insatiable hunger for human flesh, moving strategically and breeding to ensure their continued dominance. As the game progresses, the delicate balance between these opposing forces shifts, leading to moments of triumph, despair, and unexpected twists. With each time step, the fate of humanity hangs in the balance, offering players an exhilarating journey through the survival of the fittest.