About
A tribute, written in one file.
The homage
Dungeon Prince is an original, non-commercial fan tribute to the 1989 cinematic platformer that defined a genre — the running leap, the automatic ledge grab, the rhythmic sword duel. None of the original code, art, or audio was used or extracted; every pixel and every clang was rebuilt from scratch for the modern web.
The goal was simple: capture the feel — the weight of a fall, the terror of a spike pit, the calm of a torchlit corridor — using nothing but a canvas, an audio context, and a text file of tiles.
How it's built
Every brick, torch flame, portcullis and figure is drawn procedurally on a<canvas>each frame. Every clang, footfall, and fanfare is synthesized live with the WebAudio API. The whole game is a single self-contained script — no build step, no assets, no dependencies.
Physics run on a fixed timestep tuned to the classic cinematic-platformer canon: standing and running jumps, ledge snapping, fall damage measured in floor-heights, and swordplay built entirely on telegraphs and timing windows.
The site
The site around the game is a TanStack Start app on Lovable Cloud — file-based routing, SSR by default, deployed to a serverless edge worker. The game itself is a static PWA bundle under /gamewith its own manifest and service worker, so once you install it, it launches offline.
Free forever
No ads. No tracking. No accounts. No paywall. The source is on GitHub under a permissive license — clone it, fork it, ship your own episodes. If you build something with it, tell us.
Legal
Dungeon Prince is a fan-made, non-commercial homage inspired by the cinematic platformers of the late 1980s. It is not affiliated with, sponsored by, or endorsed by Ubisoft or the original creators. "Prince of Persia" is a trademark of Ubisoft Entertainment; the phrase is referenced only to describe the genre this tribute celebrates.