Skip to content

dackerman/dwarves-and-goblins

Repository files navigation

Dwarves and goblins

A random JavaScript and Canvas demo I decided to mess with.

The idea is to have goblins to kill, maybe add some AI, etc.

Running the game

  • Just run an HTTP server in the main directory, like node's httpserver.
  • Open a browser to the port it's serving at (8080 for httpserver by default)

Alternatively, you can just see it on my netlify site: https://dwarf-castle.netlify.app/

How to play

  • Use arrow keys to move the dwarf around
  • When the goblins get close, they'll attack and hurt your HP (top left bar)
  • Use Spacebar to attack goblins when they are close

Screenshot

Screenshot of goblins and dwarves demo

About

A random JavaScript and canvas demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published