/DI_RPG

Terminal based RPG, written in C++.

Primary LanguageC++

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.

image

After starting a new game, you are greeted with a hero creation menu.

image

Each class has different stats. For example, warrior specializes in strength. Additionally, each class has a different starting weapon and spell.

image

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.

image

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).

image

As you are moving in the wild, you may happen to encounter random monsters. The encounter menu looks something like this:

image

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.

image

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.

image

Finally, the market menu displays the amount of available gold per hero and allows you to buy or sell items.

image

Each market has different items for sale.

image