You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Alien vs. Earth: War Simulation in C++ Using Data Structures
This project contains a C++ war simulation that showcases a strategic battle between Earth’s military forces and an alien invasion army. The objective is total destruction: the army that eliminates the opposing force first wins. This project emphasizes the use of various C++ data structures to simulate the battle mechanics in a time-step system.
Army Units:
Earth Army:
Soldier
Tank
Gunnery
Alien Army:
Drone
Alien Soldier
Monster
Gameplay Features:
Turn-based time steps: The battle unfolds in time steps. In each step, Earth’s units attack first, followed by retaliation from the alien units. The cycle repeats until one army is destroyed.
Data Structures:
Stack
Queue
Deque
Linked List
Array
About
This project contains a C++ war simulation that showcases a strategic battle between Earth’s military forces and an alien invasion army. The objective is total destruction: the army that eliminates the opposing force first wins. This project emphasizes the use of various C++ data structures to simulate the battle mechanics in a time-step system.