AfterDawn: Tech news

Prince of Persia ported to JavaScript, runs in browser

Written by Petteri Pyyny @ 29 Dec 2021 6:05

Iconic platformer Prince of Persia now runs in JavaScript, in your browser

Back in 1989, the world of platformer games was pushed to new level. Genre, dominated by Nintendo's cute-sy platformer characters was overtaken by first-ever cinematic platform adventure, Prince of Persia.
Originally released for Apple II, but later ported to most of the available gaming / computing platforms of that era (including Commodore Amiga and Atari ST), the game became a commercial success - and an icon of its kind.

In Prince of Persia, you control the protagonist in order to save the princess who has been captured by the evil Grand Vizier Jaffar. Set in medieval Persia, the game resembles 1980s adventure movies in many ways.

Now, a Spanish developer ultrabolido has taken the 1990 MS-DOS port of the game and further ported it to... your browser!

Using purely HTML5 and JavaScript, the game is true to its MS-DOS port, using the same graphics and same music as the 31-year-old MS-DOS version.

Here's a reminder of how the game's Amiga port looked like:





Game can be played at PrinceJS.com. It doesn't work very well for mobile phones, as the controls are the same as they were back in the day: you use cursor keys to guide the protagonist through the dangers of medieval Persia. But for any modern browser and a computer can run the game smoothly.

Obviously, the game's source code has been released, too and is available at GitHub.

Previous Next  
Comments have been disabled for this article.

Latest news

Roomba Combo j7+ review - Clever trick allows robot vacuum finally to tackle home with rugs and carpets Roomba Combo j7+ review - Clever trick allows robot vacuum finally to tackle home with rugs and carpets (06 Jun 2023 9:19)
Roomba Combo j7+ is the very first Roomba model to combine robot vacuum with mopping features. And Roomba Combo j7+ does all that with a very clever trick, which tackles the problem with mopping and carpets. But is it any good? We found out.
Neato, the robot vacuum company, ends its operations Neato, the robot vacuum company, ends its operations (02 May 2023 3:38)
Neato Robotics has ceased its operations. American robot vacuum pioneer founded in 2005 has finally called it quits and company will cease its operations and sales. Only a skeleton crew will remain who will keep the servers running until 2028.
5 user comments
How to Send Messages to Yourself on WhatsApp How to Send Messages to Yourself on WhatsApp (20 Mar 2023 1:25)
The world's most popular messaging platform, Meta-owned WhatsApp has enabled sending messages to yourself. While at first, this might seem like an odd feature, it can be very useful in a lot of situations. ....
18 user comments
How to Enable Bluetooth on Stadia Controller How to Enable Bluetooth on Stadia Controller (11 Feb 2023 1:04)
Google shut down its streaming game service Stadia late last month and this means that some people have Stadia controllers lying around that seem to be of no use. That is fortunately not the ....
2 user comments
Guide: How to Kick Unwanted Guests from Your Netflix Account Guide: How to Kick Unwanted Guests from Your Netflix Account (26 Jan 2023 2:14)
Sharing a Netflix account with a person in a different location is possible and indeed very common, although the company doesn't necessarily enjoy this behavior from their customers. However, ....

News archive