Compile the Main.m file to start the game.
Once you enter the game, you will be spawned into a randomly generated dungeon that has fog.
You can move around using your arrow keys (up, down, left, right).
Your task is to find the exit door to the dungeon in order to escape.
On the way, you will find weapons, equipment along with monsters.
Your personal status will be printed in the console each time you make a move.
Your default status will start out with 2 health and 1 attack.
If you pick up a sword, you will gain 1 attack.
If you pick up armor you will increase your max health limit by 1.
If you run into a monster you will be able to defeat it, but it will also injure you during the fight so your health will go down. Unless you have a sword then you can slice the monster up easily.
If you picked up a potion, you can restore 1 health by drinking it.
Have fun and find your way out!
*Remember, you’re in a dungeon, items might not be as sturdy as you think they are.