Original Prince of Persia source code discovered, released for free

Now you too can tinker with one of video game's most beloved platformers, with the free release of the original source code for 1989's Prince of Persia. This week, series creator Jordan Mechner updated his blog (spotted by Edge) to announce that the code was rediscovered in a box of 3.5” floppies earlier this week and, thanks to the efforts him and his team, subsequently freed from its archaic prison to explore the mysteries of the internet.

“Why would I spend a whole day trying to recover data from some ancient floppy disks?” wrote Mechnar in his latest blog post, adding, “Because if we didn’t, it might have disappeared forever.”

Mechnar admitted not everyone will be keen on playing with the ages-old code, but said it might be of interest to those who have fond memories of the game and an appreciation for the old days, noting, “One might reasonably ask: If you have the recording, what do you need the sheet music for? You don’t, if all you want is to listen and enjoy the music. But to a pianist performing the piece, or a composer who wants to study it or arrange it for different instruments, the original score is valuable.”

“This is why I was so sorry to have lost the Prince of Persia source code, and happy to find it again,” he added.

The source code can be downloaded at github for no charge (assuming you know what to do with it).

Matt Bradford wrote news and features here at GamesRadar+ until 2016. Since then he's gone on to work with the Guinness World Records, acting as writer and researcher for the annual Gamer's Edition series of books, and has worked as an editor, technical writer, and voice actor. Matt is now a freelance journalist and editor, generating copy across a multitude of industries. 

Latest in Action
Assassin's Creed Shadows Naoe assassinating target with Tanto skill
Assassin's Creed Shadows' expert difficulty looks like the best way to play since it does way more than just dial up enemy HP bars
Zone of the enders 2 screenshot showing mechs battling
One of Hideo Kojima's most overlooked games is under $6 in the Steam Spring Sale 2025 to make the wait for Death Stranding 2 more bearable
King Kong
Ubisoft's surprisingly ambitious King Kong game faced a sudden change because Peter Jackson's son didn't like the ape's face: "I had to rework Kong’s head, alone in the studio"
God of War Ragnarok
God of War's 20th anniversary announcement comes without a remaster, but PlayStation is giving us some sick new God of War Ragnarok skins and a 67-inch Jörmungandr plush
Splatoon
New Nintendo patent implies veteran Splatoon developers are behind that mystery Minecraft-like game playtested last year
Assassin's Creed Shadows screenshot showing female protagonist Naoe
Ubisoft is reportedly laying the groundwork for a new company unit focusing on its most valuable series, including Assassin's Creed
Latest in News
First Berserker: Khazan screenshot showing two characters engaged in battle
Compare it to FromSoftware all you want, but the devs on this extremely promising hardcore action RPG say they're making "more than just a Soulslike"
Old School RuneScape Smite collab
MMO scholar puts a $500 bounty on old versions of RuneScape as part of a community archive project: "You might have ALL of the game's lost versions!"
Khazan holding a red glowing sword during the upcoming PS5 game, The First Berserker: Khazan.
"Games are meant to be engaging, not exhausting": Lead dev on promising Soulslike RPG pushes balanced difficulty because "if stress keeps piling up without relief, players will eventually want to quit"
A meeting inside one of Chrono Cross' cathedrals
There's never been a better time to play Chrono Trigger than on its 30th anniversary as the all-time JRPG great is just $4 in Steam Spring Sale
The Surrender
The Boys star's new horror movie gets great first reactions calling it "truly terrifying" featuring some of the "best performances" of 2025 so far
Ender Magnolia screenshot showing a spirit shooting at a monster enemy
One of the best new Metroidvanias just got a huge update with New Game+ and heaps more content like a boss rush mode