Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages