This was the final C++ project for my Object-Oriented Programming II (CIS 4100) class at Baruch College (CUNY).
I designed an abstract Enemy parent class and three EnemyType subclasses (animal, military aircraft, humanoid). The parent class contains three public virtual functions that are redefined in each subclass and represent the actions an Enemy can perform. In the main file, I create an array of Enemy objects and endlessly simulate their behavior (until the user tells the program to stop). Each class has separate specification and implementation files. For more details, you can find the project instructions here (I've included the PDF file within this repository as well).
- Visual Studio 2019 (Community Edition is sufficient)
-
Clone this repository on your local machine:
$ git clone https://github.com/WengsingVWong/Video-Game-Enemy-Simulation-Project.git
-
Open the project in Visual Studio 2019 (the easiest way to do this is to run the .sln file)
Standard Program Intro:
Example of Simulation:
Project Link: https://github.com/WengsingVWong/Video-Game-Enemy-Simulation-Project/
If you're reading this, thanks again for viewing my project! 😀