Inspiration
This game was inspired by java desktop game I created around a year ago with of a similar genre and mechanics. I decided I wanted to make a recreation of it as a web game in order to get a feel for using javascript. Since this hackathon was had a theme involving dices I decided to add a fun twist to the game which was to make each decision in game be determined by a simulated dice roll. In order to make sense of the idea of the character choosing decisions by a dice roll, I added the fun story idea that the dice is corrupting the player's mind into making decisions for them.
What it does
It is a text based rpg game where you create your character as either a warrior, mage or archer. You wander around a dungeon searching for the way out so that you may reach a shrine of 'RNGsus' to pray to to remove your unfortunate curse. Along the way random events occur where your actions are determined by the roll of a dice along with your Character's stats playing a small role. You also may encounter enemies on the way which you must fight in a pokemon battle like interface.
How I built it
I used pure vanilla Javascript, HTML5 and CSS to build it, using the HTML5 canvas and some forms added to take user input when necessary.
Challenges I ran into
Writing code in Javascript as someone who is inexperienced with it and comes from the world of statically-typed, object oriented programming (Java). Working in a programming language that is not statically typed and not an object oriented programming language just felt different to me and in some ways it felt very less structured and messy, however I must say it has some very useful features I cannot use in Java and in some ways is easier to use than Java.
Accomplishments that I'm proud of
Being able to set up descent looking animations using just pure Javascript, creating a pokemon battle like aspect to the game.
What I learned
Some parts of core Javascript like basic OOP in Javascript and basic multi-threading using web workers.
What's next for DiceDungeon
Better balancing the strengths of each type of character to make game play less limited and more engaging, adding more unique enemies to change the way battles occur, implementing animations referenced but unused in the game files, adding new unique scenarios to spice up game play, adding items and an inventory to the game to boost the strength of your character, and maybe even boss battles!
Log in or sign up for Devpost to join the conversation.