An open API service indexing awesome lists of open source software.

https://github.com/pedro-estevao/conquerors-of-the-kingdom

A Mini RPG Battle Simulator developed for the Object-Oriented Programming course (5th semester, Computer Science - Centro Universitário Barão de Mauá) using Java. The game allows players to recruit soldiers, build structures, and battle enemy kingdoms while applying OOP concepts.
https://github.com/pedro-estevao/conquerors-of-the-kingdom

abstraction academic academic-project computer-science design-patterns encapsulation game-development inheritance java java-rpg-game onject-oriented-method oop oops-in-java polymorphism programming rpg strategy-game

Last synced: 8 months ago
JSON representation

A Mini RPG Battle Simulator developed for the Object-Oriented Programming course (5th semester, Computer Science - Centro Universitário Barão de Mauá) using Java. The game allows players to recruit soldiers, build structures, and battle enemy kingdoms while applying OOP concepts.

Awesome Lists containing this project

README

          

# RPG Battle Simulator - Centro Universitário Barão de Mauá



illustrative image

This repository contains a **Mini RPG Battle Simulator**, developed as part of an assignment for the **Object-Oriented Programming (OOP)** course in the **Computer Science** program at **Centro Universitário Barão de Mauá**, under the guidance of professor **Eliza Maria da Cunha Bomfim**.

The project was created using **Java** with a focus on applying **Object-Oriented Programming** principles while building an interactive battle system.

## 🏰 Project Overview
The game allows players to engage in strategic battles while managing their kingdom. The main features include:

- **Hiring Soldiers**: Recruit different types of units to form an army.
- **Building Structures**: Create defensive and resource-generating buildings.
- **Battling Other Kingdoms**: Engage in turn-based combat with enemy factions.

This project was designed to **reinforce OOP concepts** such as **inheritance, polymorphism, encapsulation, and abstraction** through practical implementation in a game setting.

## 🚀 How to Run the Project

### ✅ Requirements
- Java (JDK 8 or later)
- Any Java-compatible IDE (Eclipse, IntelliJ, VS Code, etc.)

### ⚡ Installation Steps
1. **Clone the repository:**
```bash
git clone https://github.com/Pedro-Estevao/conquerors-of-the-kingdom.git
cd conquerors-of-the-kingdom
```
2. **Open the project in an IDE:**
- Import it as a Java project.
3. **Compile and Run:**
- Use the IDE’s built-in compiler or run via terminal:
```bash
javac src/*.java -d bin
java -cp bin Main
```
4. **Start Playing!**

---

**Developed for academic purposes** 🎓