Prerequisites
CMake, Makefile, C++ compiler
How to use
- Navigate to the root project directory
- In order to generate a Makefile for the project, use
cmake CMakeLists.txt
. - To compile the program, use
cmake --build .
- Run the proram using
./DI_RPG
About the game
DI_RPG is a terminal based, role-playing game. You control a party of heroes as they fight their way through a grid infested with monsters.
After starting a new game, you are greeted with a hero creation menu.
Each class has different stats. For example, warrior specializes in strength. Additionally, each class has a different starting weapon and spell.
You can create up to 3 heroes. If you have more than oen you hero will control each one separately during battle. However, you will always be moving as a group during map traversal.
As soon you are done with the hero creation, you are greeted with the Block Menu, in which you have the options to check the inventory, move around the map, or go back to the main menu.
In the inventory screen, you can change your equipped weapon and armor and also use a potion.
If you choose to move on the map, the Map is first displayed in the console window (H indicates the hero group position, # forbids you from entering the block, M is a Market location).
As you are moving in the wild, you may happen to encounter random monsters. The encounter menu looks something like this:
Each round consists of a character attacking and the AI monsters reacting to it. The characters act in circular rotation. In the above example, Joveno attacks first, then Julia. The [1 to X] signifies all the possible targets your character can attack. X is the last AI enemy.
Round ends when either party (heroes or monsters) are all defeated. If the heroes win, they receive gold, which they can use in the marketplace to purchase better gear and potions, and XP. If enough XP is gathered, heroes level up and their stats improve.
Finally, the market menu displays the amount of available gold per hero and allows you to buy or sell items.
Each market has different items for sale.