ported2browserTHE INDEPENDENT FIELD GUIDE⌕

BROWSER CLASSIC / PLATFORM ADVENTURE

Prince of Persia online

Explore PrinceJS and its controls.

Play Prince of Persia online with PrinceJS, an HTML5 recreation of the MS-DOS platform adventure. Explore connected rooms, judge your jumps and face guards in close combat. Start in the game window below, then use this guide for keyboard controls, landscape touch input and keeping the original game’s progress URL.

  • Browser recreation
  • Keyboard & touch
  • Original host: princejs.com
Open PrinceJS window ↓Game supplied by its developer.

PLAY ON THIS PAGE

PrinceJS

This window loads the game from its game host.

Open game host ↗ (opens a new tab)

About PrinceJS

PrinceJS recreates the MS-DOS version of Prince of Persia in the browser. Guide the prince through connected rooms, judge each jump, climb ledges and face guards in sword fights. Progress depends on timing and positioning, with the remaining time adding pressure as you explore.

The controls change with the situation: the same keys handle running and climbing during exploration, then advancing, retreating and blocking in combat. The developer’s version supports a keyboard, gamepad or landscape touch controls.

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.

  1. 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.

  2. 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.

  3. 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.

PrinceJS Level 1 opening room with stone platforms, a closed gate and the prince
Level 1 opening capture from princejs.com. The custom Level 99 preview used elsewhere on this site shows a different room.

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.

KeyExploringIn combat
← / →Move left or rightAdvance or retreat
↑Jump or climb upBlock an attack
↓Crouch, crawl or climb downSheathe the sword
ShiftGrab an edge or drink a potionStrike with the sword
SpaceShow remaining timeShow remaining time
EnterContinue when promptedContinue when prompted

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.

PrinceJS landscape touch regions for left and right movement, jumping, climbing, Shift actions and combat
Developer’s touch-control diagram. Tap to enlarge. Read the mobile instructions .

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.

  1. For a run you want to keep, start in the original game’s tab .
  2. Before leaving, copy or bookmark that tab’s full updated address.
  3. 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.

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.

Bring someone along.

Share the game guide with a friend.