JS Quest
JS Quest is a turn based combat game built entirely with JavaScript. The game itself is pretty simple but will serve as a platform that I will continue building on. I want to grow the functionality of the game to include a saving system, loot, and several combat mechanics. The intent will be to expand my understanding of Javascript, JQuery, React, as well as digital art.
Design
One of my favorite video game genres is RPGs - especially the ones with the old dungeon-diving hack-n-slash aesthetic. Since JS Quest at it's core is a very simple game it made sense to lean into simplicity for the visual design. The logo was created using photoshop and pays tribute to the first MMORPG I ever played: Runescape. The idea I have for this game is to continue creating, adding, and updating the art, graphics, and UI/UX as more functionality gets added to the game.
Development
The game might be simple to play but there are several things being used in the code to ensure the game is fun and challenging! The most important part of the code is the game clock, it is constantly checking on player and opponent HP levels, potion count and displaying those values on the UI. When the game starts the opponent generates a random value between a range, that value will determine at what HP threshold the opponent will choose to heal themself VS attack you. Finally, to ensure variety in a game this simple, there are logic systems coded for how much potions heal, how much damage is done, and whether or not an attack is blocked.