Role Playing Game RPG

Turn-based browser game

My Scriba course challenged students to build a browser-based RPG using HTML, CSS and JavaScript.

The player and AI take it in turns to roll dice and attack each other. The player controls a spellcaster hero, and the AI controls various monsters for the hero to defeat. If the hero manages to defeat all the monsters without dying, the player wins!

I went the extra mile and added some extra features to the game, including the option to choose a player character before starting the game, and a "boss" monster at the end of the game.