A text-based helicopter combat simulator written in C++.
Helicopter Combat is a console-based game that simulates helicopter combat missions.
- Text-based helicopter flight simulation
- Combat mechanics with various weapons systems
- Multiple enemy types
- Mission-based gameplay
- C++ compiler (g++ 9 or later recommended)
- CMake (version 3.16 or higher)
- Make
-
Clone the repository:
git clone https://github.com/mars-rift/Helicopter-Combat.git cd Helicopter-Combat -
Create a build directory and run CMake:
mkdir -p build cd build cmake .. -
Build the project:
make
The project includes VSCode configurations in the .vscode folder. To build using VSCode:
- Open the project in VSCode
- Press
Ctrl+Shift+Bor selectTerminal > Run Build Task - Select the C/C++ build task
After building, you can run the game from the build directory:
cd build
./HelicopterCombat├── src/ # Source files
│ ├── Enemy.cpp # Enemy implementation
│ ├── Enemy.h # Enemy class definition
│ ├── Game.cpp # Game logic implementation
│ ├── Game.h # Game class definition
│ ├── Helicopter.cpp # Helicopter implementation
│ ├── Helicopter.h # Helicopter class definition
│ ├── HelicopterCombat.cpp # Main game implementation
│ ├── HelicopterCombat.h # Main game header
│ ├── main.cpp # Entry point
│ ├── Weapon.cpp # Weapon implementation
│ └── Weapon.h # Weapon class definition
├── CMakeLists.txt # CMake configuration
└── .vscode/ # VSCode configuration
This project is licensed under the MIT License - see the LICENSE file for details.