This is a WebAssembly front-end of my final project for the CS246 course at the University of Waterloo.

Commands:

  • There are 8 cardinal directions: no, so, ea, we, ne, nw, se, sw
  • To move, type the direction (2 letters total)
  • To attack, type "a" + space + direction (4 letters total)
  • To use a potion, type "u" + space + direction (4 letters total)

Player types:

  • Human, 140 HP/20 Atk/20 Def/+50% increase to score
  • Dwarf, 100 HP/20 Atk/30 Def/Gold is doubled in value
  • Elves, 140 HP/30 Atk/10 Def/Potion effects are inverted
  • Orc, 180 HP/30 Atk/25 Def/Gold is halved in value

Mechanics:

There are 5 levels. Each level there will be 1 random monster that holds the key. Kill that monster to unlock the stairs to the next level. Once you reach the last level, the game ends.

Feature wish list:

  • Different sprite for each player type + animated player sprites
  • Help screen/credits
  • Better input/autocomplete/syntax (i.e., "attack north" instead of "a no") 

Credits:

StatusPrototype
PlatformsHTML5
Rating
Rated 5.0 out of 5 stars
(1 total ratings)
AuthorKevin Dai
GenreRole Playing
TagsDungeon Crawler, Pixel Art, Roguelike, Turn-Based Combat
Code licenseGNU General Public License v3.0 (GPL)
Average sessionA few minutes
LanguagesEnglish
InputsKeyboard
LinksSource code