Rogue-like Dungeon Crawler

A project for the freeCodeCamp React and Data Viz Certification

How to Play

The goal of the game is to kill the boss! However, he is locked in his room and you must first find the key to his door. You can only see as far as your torch allows. Pick up more torches to see farther.

You can move around using the arrow keys on your keyboard. You can fight monsters and pick up items by moving into them.

As you kill monsters, you will gain experience. If you gain enough experience, you will level up, increasing your maximum health, attack, and defense values. However, the monsters will also level up with you!

The dungeon is randomly generated, click the Regenerate Map button for a new map.

Item Glossary
torch iconTorch
Increases the distance you can see
weapon iconWeapon
Increases your attack value
armor iconArmor
Increases your defense value
health icon Health Potion
Heals some battle damage
key iconKey
Opens the door to the Boss Room!
View this project's source code on GitHub 

Dungeon Crawler

Level: 1
Health: 20 / 20
XP: 0 / 50
Weapons:
Fists
Attack Value: 4
Armor:
Dirty Rags
Defense Value: 0
Boss Room Key