Back to Portfolio

404 Kingdoms

A full RTS mini-game hidden inside the 404 error page. Command an army of knights to rescue a kidnapped webpage from dragons. Features real-time strategy mechanics, unit selection, building construction, production queues, pathfinding, combat AI, fog of war, and hidden cheat codes, all built with vanilla JavaScript and HTML5 Canvas, zero dependencies.

Case study

Role
Solo build
Type
Game
Stack
  • Vanilla JS
  • HTML5 Canvas

What it shows: An entire real-time strategy game, including pathfinding and enemy AI, in one dependency-free file that only loads when a page is missing.

Play the Game
404 Kingdoms screenshot 1