The last of my big projects from freecodecamp. This was as fun to build as was frustrating. The main challenge is to build this in React using html objects, or I would have used a library like Phaser or Pixi and I would have been ready in no time. From the movement of the player, the collision, the levelup, to the stats, weapons, life orbs, everything is a challenge. It was fun to build and fun to balance, I planned adding more stuff to the game but the browser was already struggling to render all the elements. I remember I had to adjust the tileSize (the size of every object in the game)from 32 to 24 pixels, just to get some more frames from Chrome. I also remember all the cave generators algorithms that I have tried to adapt from the online examples until I finally decided to roll my own cave generation algorithm, with blackjack.. and.. . Anyways, with my own cave generator I had all the control I wanted and I just kept adding stuff. Great challenge. In the end is not the fastest game and definitely resource heavy, but it does what it has to.
You can find more about the project on: