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.
This project was a practical exercise in object-oriented programming and game engine development:
-
Creation of classes for characters, castles, and game logic.
-
Implementation of a game engine responsible for coordinating actions and managing various possible scenarios.
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:
-
Deepening skills in Java and object-oriented design.
-
Developing a problem-solving approach to anticipate and handle unexpected scenarios.
-
Raising awareness of the importance of unit testing and debugging to guarantee the game’s proper functioning.