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.
- Host: GitHub
- URL: https://github.com/pedro-estevao/conquerors-of-the-kingdom
- Owner: Pedro-Estevao
- License: mit
- Created: 2024-03-06T01:09:14.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-22T16:22:32.000Z (8 months ago)
- Last Synced: 2025-02-22T17:25:18.412Z (8 months ago)
- Topics: 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
- Language: Java
- Homepage: https://www.pedroestevao.com
- Size: 86.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# RPG Battle Simulator - Centro Universitário Barão de Mauá
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** 🎓