You can even play in full screen


Hero of the Prince of Persia

In 1989, the first Prince of Persia game was released on Apple II, eventually finding its way to a host of platforms such as Game Boy, NES, and MS-DOS (the version I’m most familiar with). Not only is it the game that kicked off a genre of cinematic platformer games (like Another World in ’91 and Flashback in ’92), but it’s still touted as one of the best, all thanks to its smooth motion animations. who used rotoscoping for their creation. While the original inspired the design of many sequels, the first game still holds a special place in my heart, which is why I was very excited to discover an HTML5 / JavaScript port of the MS-DOS version of Prince of Persia on GitHub is perfectly playable on Android devices. You can even create a launcher for your home screen to quickly access that port in full screen, with touch controls.

ANDROID VIDEO OF THE DAY

You can go to the PrinceJS GitHub page if you want to check out Oliver Klemenz’s project. This is where you will find the link to the web game, which is playable in your browser on desktop and mobile. Although you can simply click on the link to open the game in your browser, the browser navigation bar is visible. Luckily, you can easily create a shortcut for your home screen that forgoes showing the browser bar by clicking “Add to Home Screen” in Chrome’s overflow menu (the three vertical dots at the top to law). Oh, and if you’re worried that the game is too hard, there’s even a link available to load the game with 50% reduced difficulty, which is definitely a good idea considering Prince of Persia is a tough game.

Of course, if you want to get to the heart of the matter, here’s the mobile game snippet from GitHub.

Play mobile

  • Browser: https://princejs.com
    • Use landscape mode
    • Simple tab
    • Disable the Landscape tab bar in browser settings
  • Add to Home screen to start as a full screen app
  • Reduced difficulty (50%):
  • Touch controls (tap / drag area on screen, combat mode in brackets):
    Mobile
    • Gliding can be used to trigger continuous motion sequences eg.
      • Run Jump: Press Left or Right -> Hold -> Drag in the left or right corner
      • To jump: (Execute) Jump -> Hold -> Drag to center (Shift)
    • To fight
      • Left right: Advance / Retreat
      • Change: To hit
      • At the top: To block
      • Down: sheath

So this is it. An enterprising developer ported the MS-DOS version of Prince of Persia to the browser, and it’s perfectly playable on Android devices thanks to the inclusion of touch controls. Better yet, you can even create a shortcut to instantly launch the game from your home screen, allowing the game to be displayed in full screen (although it is in pillars as it is a game designed for 4: 3 screens). All in all, it’s a solid effort that brings the classic to Android for free. What not to like?


See all the Samsung Galaxy S22 and S22 Ultra colors to choose from in these new renderings

Samsung does not intend to fix what is not broken

Read more


About the Author