A simple terminal shooting game built using Modern C++.
This project was created to practice core programming concepts such as:
- Arrays & Memory Indexing
- Loops & Game Logic
- Random Number Generation
- User Input Handling
- Function Design
- Basic Game Loop Architecture
- A hidden enemy (
A) spawns at a random index. - The player must type the correct position (0–4) to shoot.
- Hit the correct index → You Win.
- Miss → Try again.
- Player can replay multiple rounds.
Example:
* * A * *
Enter Which Place To Shoot (0-4): 2
You Won!
- Modern C++ random generator (
<random>) - Terminal game loop
- Dynamic enemy spawning
- Replay system
- Clean function-based structure
This project focuses on beginner-to-intermediate C++ fundamentals:
- Stack memory vs variables
- Array indexing
- While loops
- Functions vs declarations
- Scope & execution flow
g++ main.cpp -o terminal-aimbot./terminal-aimbotterminal-aimbot-cpp/
│
├── main.cpp
├── log.h
├── new.cpp
└── README.md
- Difficulty levels
- Moving enemy
- Score system
- Timer-based shooting
- ASCII UI
Built while learning low-level programming and C++ fundamentals.