All Opus 5.5 videos › Games

Prince of Persia-style browser level with combat and sound

by Ian Nuttall (@iannuttall) · Sep 23, 2026

Prompt

The author shared the full prompt.

Using only a self-contained HTML file, vanilla JavaScript and Canvas 2D, I want you to recreate the original Prince of Persia game. The level doesn't have to be the same, but the aesthetics, the design, the character, the jumping animations and gameplay do need to be identical to the original game.

I should be able to jump, use floor pads that you can stand on to open and activate gates. I should be able to pick up a sword and fight against NPCs, and make the level as realistic and accurate as possible.

It should take me maybe a couple of minutes to complete a level just using WASD, spacebar to jump, X to pick up an object and whatever keys you think to use the sword.

Focus on the level aesthetics, the background, the flickering of the lamps on the wall, the gates that open and close and really nail that original Prince of Persia aesthetic.
Prompt by @iannuttall, from their reply
Category
Games
Stack
Canvas
Opus effort
high
From the author
35 minutes, 1% usage, Max 20x plan
On X
194 likes · 17K views · 96 saves

More games

GamesPrompt0:23

Playable Minecraft-style browser game with advanced shaders

@noahwachnik♥ 5.3K
GLSL
GamesPrompt1:02

3D computer simulation with logic gates, OS, and a running game

@mattshumer_♥ 1.8K
GamesPart of prompt2:08

First-person three.js game scene polish and lighting pass

@maxt3chno♥ 1.6K
Three.js
GamesPrompt0:18

Single-file HTML game reward animation with 3D chests and effects

@op7418♥ 1.2K
Three.jsWeb AudioCanvas
GamesPart of prompt1:30

Roblox Minecraft-style game prototype built overnight

@albie_io♥ 1K
GamesPart of prompt0:18

Interactive 3D gummy octopus you can grab and stretch

@vib3coded♥ 712
WebGPU
GamesPrompt1:21

Cute three.js mini-game with seasonal mode switches

@studio_veco♥ 677
Three.js
GamesPart of prompt3:09

Browser-based first-person Three.js game with swimming, boat, and inventory mechanics

@maxt3chno♥ 607
Three.js