Faerun - Object-oriented programming

Simon Zeru Image

Simon Zeru

Last modified : June 10, 2025 (1w ago)

📅 Period: April 2024 – May 2024

🛠️ Technologies: Java

👩‍💻 Expertise: Object-oriented programming, Algorithms

🎓 Acquired skills: Developing an application, Understand and build algorithms

🔗 GitHub: View repository

This article discusses the implementation of my object-oriented programming academic project, Faerun, which is a text-based RPG game.

Cover of the project

Project Overview

Faerun is a game I developed in Java. The rules are simple: there are two teams, and each player must destroy the opponent’s castle. It is turn-based, and the player can choose from different characters at the start of the game. Each character has different abilities, and the player must choose the right strategy to win.

When it’s your turn, your characters automatically attack the enemy castle. The game ends when one of the castles is destroyed.

The player can also choose to play against the computer or against another player. The game is displayed in the console, where the player can see the health points of the castles and characters.

Image of two castles

This project was a practical exercise in object-oriented programming and game engine development:

Image of a function

Project Results

The game was a good exercise for learning object-oriented programming.
I had to work on my problem-solving skills and think through the different possibilities that could arise during the game.
I also learned the importance of testing and debugging to ensure the game works correctly (with unit tests).

Grade received: 15/20

Learnings: