A simple console-based turn-based combat game written in C++. The player battles an AI opponent by choosing actions like "Attack" or "Defend" during each turn. This project focuses on fundamental C++ programming concepts such as classes, functions, control flow, and basic game logic.
- Turn-based combat between player and AI
- Simple text-based UI via the console
- Basic enemy AI logic
- Player victory/defeat conditions
- Written entirely in C++ (no external libraries)
- C++
- Standard Library (STL)
- Console I/O
- Practice with object-oriented programming in C++
- Implementing simple game logic
- Understanding control flow and functions
-
Clone this repository: https://github.com/mialskywalker/FightingConsoleGame.git
-
Compile the code: g++ Game.cpp -o arena-fighter
-
Run the game: ./arena-fighter
Or open it with an IDE like Visual Studio, CLion, or Code::Blocks.
- Add items or power-ups
- Implement multiple enemy types
- Add visual health bars or basic ASCII art
This project is for learning purposes and is provided as-is under the MIT License.