01 / GET YOUR BEARINGS
How to play PrinceJS
PrinceJS combines room-by-room exploration with jumps, ledges and sword encounters. A key can do several jobs: ↑ climbs during exploration and blocks during combat. Read the situation before choosing the action.
Start on safe ground
Move a short distance and stop. Get a feel for turning and jumping before committing to a gap. These are practice suggestions rather than a level walkthrough.
Learn to hold an edge
Use the contextual Shift action when grabbing a ledge. Work on movement and grabbing separately before combining them into a longer jump sequence.
Separate movement from combat
When facing a guard, the arrows control advance, retreat and blocking; Shift becomes your strike. Learn the change in controls before trying to rush through an encounter.

02 / KEEP THIS HANDY
PrinceJS keyboard controls
Click the game window to give it keyboard focus. After using a page link or another tab, click back inside the game before continuing.
Bindings: developer’s keyboard instructions .
For help with page scrolling or lost input, read our platformer controls and focus guide.
03 / CHOOSE YOUR INPUT
Mobile touch controls & gamepads
On phones, use landscape orientation. The project provides touch regions across the screen rather than a separate row of keyboard buttons. The center region supplies the contextual action; dragging between regions can combine movements.
Using a controller
The project also documents stick, D-pad and button bindings. Check the controller mapping for your device before playing a longer session.
04 / BEFORE YOU CLOSE
How PrinceJS keeps progress
Original-host URL: level, maximum health, minutes and guard strength; not an exact-position save. Source ↗
Basis: hosted source and developer documentation. A save-and-restore browser test is a separate check.
The original game updates its own URL with selected progress values. These include level, health (maximum health), time (remaining minutes) and strength (guard strength). A URL restores those settings, not the exact position of every character or an unfinished jump.
- For a run you want to keep, start in the original game’s tab .
- Before leaving, copy or bookmark that tab’s full updated address.
- Reopen the saved URL and check the level and time before relying on it.
Keep the game’s URL. Your Ported2Browser address and Favorites button remember this guide. They do not copy the embedded game’s changing address, and opening a new original tab does not transfer the run already inside this player.
For general backup checks, see saving browser-game progress.
05 / QUICK ANSWERS
PrinceJS questions
Do I need to install PrinceJS?
No installation is needed to open the browser version. This page embeds the developer’s game; an internet connection is needed to load its files.
Why do the arrow keys scroll the page?
The page and the game have separate keyboard focus. If Return to game appears over the player, select it to restore the controls. At Press to Start, press Enter after returning to the game.
Can I play Prince of Persia on my phone?
The developer documents touch regions for landscape play. Rotate your phone and use the diagram below the player. Keyboard controls remain a useful starting point for learning the actions.
Can I continue exactly where I stopped?
The verified URL mechanism records selected values such as the level and remaining minutes. It does not record a complete snapshot of the room, character position or current action. Copy the updated address from the original game’s tab.
Does adding this game to favorites save my progress?
Favorites keeps a link to this guide. To retain the game’s documented progress values, use the original host’s full updated URL.
What if the embedded game stays blank?
Try Open original game above the player. If the original host works, keep playing there; if it also fails, reload later or check the developer’s project for availability.
06 / FOLLOW THE SOURCE
About this version & its sources
PrinceJS recreates the MS-DOS Prince of Persia in HTML5 and JavaScript. Oliver Klemenz’s version builds on ultrabolido’s project. This guide embeds the developer’s host and does not distribute the game’s data.
- PrinceJS project, controls and credits
- URL progress implementation
- Implementation licence & asset notice
The implementation uses the Unlicense; original game artwork and music retain separate rights. Instructions and URL behavior checked against the developer’s documentation and hosted source on . The Level 1 image is an opening capture, not a completed campaign review.
Directory card: Prince of Persia MS-DOS original reference screenshot by Jordan Mechner, not PrinceJS gameplay. Wikimedia Commons source and VRT confirmation · CC BY-SA 4.0 · Original PNG · Image notice. The 640 × 400 source consists of 2 × 2 repeated pixels (320 × 200 native detail); WebP conversion is lossless and CSS may crop. Adaptations must use the same or a compatible licence. This licence applies to this particular image, not the player preview or other images.
Live game: PrinceJS developer’s website . The fallback preview shows the project’s custom Level 99.