A simple console-based helicopter game implemented in C++. Control the helicopter to avoid obstacles and see how high you can score!
- Press 'w' to move the helicopter up.
- Press 's' to move the helicopter down.
- Helicopter (H): Represented by the letter 'H', control its position to avoid obstacles.
- Obstacle (|): Vertical bars represent obstacles. Navigate the helicopter through them.
- Ground (-): The ground is displayed at the bottom. Keep the helicopter above it to survive.
- Clone or download the repository.
- Compile the C++ code using a C++ compiler (e.g., g++, Visual Studio).
- Run the compiled executable.
- C++ compiler.
- Adjust the game loop delay in the code if needed (
std::this_thread::sleep_for(std::chrono::milliseconds(100))
).
Contributions are welcome! If you have ideas for improvement or new features, feel free to submit a pull request.
This project is licensed under the MIT License.