Defend the Castle is a fast-paced arcade-style video game, with a twist on the classic tower defense genre.

An evil wizard has opened portals that are spawning malicious creatures on your King's island. Defend the castle from attacking bats at all costs!

The engine and game are written from scratch in JavaScript, and it runs right in your browser.

How To Play

  • movement: WASD or Arrow Keys (up, down, left, right)
  • to attack: run sword in to a bat!
  • portals will spawn more bats
  • bats will charge the castle
  • red arrows indicate offscreen enemies approaching
  • game over when Castle Strength depletes

View the source code on github here:

Leave a comment

Log in with to leave a comment.