Skip to content

Repository files navigation

Turn-Based Arena Fighter (C++)

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.

🧠 Features

  • 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)

🛠 Technologies Used

  • C++
  • Standard Library (STL)
  • Console I/O

🎯 Learning Goals

  • Practice with object-oriented programming in C++
  • Implementing simple game logic
  • Understanding control flow and functions

📦 How to Run

  1. Clone this repository: https://github.com/mialskywalker/FightingConsoleGame.git

  2. Compile the code: g++ Game.cpp -o arena-fighter

  3. Run the game: ./arena-fighter

Or open it with an IDE like Visual Studio, CLion, or Code::Blocks.

🚧 Future Improvements (Optional)

  • Add items or power-ups
  • Implement multiple enemy types
  • Add visual health bars or basic ASCII art

📄 License

This project is for learning purposes and is provided as-is under the MIT License.

About

Fun C++ game project

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages