Project information

  • Category: C++, OOP, PQs, and PRGs
  • Class: Data Structures and Algorithms
  • Project date: Fall 2023
  • Project URL: Click Here

Project Details

The project focuses on implementing the game via priority queues and efficient algorithms. The player, armed with a bow and arrows, must strategically prioritize shooting zombies based on their distance, speed, and health to survive for as long as possible. The program takes command line options, including verbose output, statistics reporting, and median calculation. The player faces rounds of zombie attacks, with each round involving quiver refilling, zombie movement, new zombie appearances, and shooting based on priority. The project emphasizes proficiency in templated "generic" code, inheritance, polymorphism, testing, and debugging. The program reads input from standard input, which includes information about zombies, their attributes, and the game's parameters. The output includes victory or defeat messages, detailed statistics if specified, and optional verbose or median output. The project also introduces random zombie generation using PRGs for standardized random zombie generation.