The old school pc gamers know well about the 2d games and one of it is prince of Persia which is highly popular among gamers who were born between 1995-2002 in their childhood. The first version of these games was launched in 1989 and developed by Jordan Mechner.
During our childhood it is very difficult to afford pc and buy this game CD, but now you can play the first version of this game on any browser. The Dos version of prince of Persia was converted into a html5/JavaScript game project, host on web server which was perfectly playable on a tablet-style Chromebook and basic android devices.
The game can be played by simply visiting the site named as PrinceJS and click or touch "Press start" text to play the game without downloading it. This project can be found on Oliver Klemenz https://github.com/oklemenz GitHub who converted this game in an online version.
Touch Controls (touch/drag area on screen, fight mode were written in brackets):
Touch controls |
- Some move sequences example:
- Run Jump: Tap Left or Right -> Hold -> Drag in Left or Right corner.
- Jump Grab: (Run) Jump -> Hold -> Drag to Center (Shift)
- Fight
- Left/Right: Advance/Retreat.
- Shift: Strike.
- Up: Block.
- Down: Sheathe.
- Browser setting:
- Use Landscape Mode
- Single Tab
- Disable Landscape Tab Bar in Browser Settings.
- Add to Home Screen to start as Full-screen App.
- Url parameters are set to save game state automatically (shortcut in brackets)
- level (l): Current Level (1-14, default: 1)
- health (h): Max Health (3-10, default: 3)
- time (t): Remaining Minutes (1-60, default: 60)
- strength (s): Guard Strength in "%" (0-100, default: 100)
- width (w): Game Width in "px" (default: 0 (fit to screen)) s
- shortcut (_): Write url in shortcut version (default: false)
- Default url looks as follows:
- https://princejs.com?level=1&health=3&time=60&strength=100&width=0.