Turn your legacy code into a playable retro 3D shooter

Codeenstein 3D reads real source code and procedurally builds it into a raycasted dungeon — then drops you in to fight your way through it.

New to coding?

You don't need to write or even read code to play. Click Demos in the sidebar for a ready-made example with no setup — or point it at any folder of code and Codeenstein 3D turns it into a dungeon automatically. Think of it this way: every function becomes a monster to fight, and reaching the end of the file clears the level. The card below explains the exact mapping in more technical detail, for anyone curious what's actually happening under the hood.

How it works

  • FileLevel
  • FunctionRoom + Enemy (HP scales with complexity)
  • Global variableAcid pool
  • Private/protected methodLocked door
  • goto / labelTeleporter
  • Large commentLore terminal
  • Dead code, empty catches, deprecated tags, big comment blocks, magic blobsSecret room

What you'll do

Shoot your way from start to exit with the echo pistol, the Regex Shotgun and the SIGKILL Knife to start — four more to unlock, including gdb (machine gun), ghidra (rocket launcher) and Friday Hotfix (flamethrower). Higher-complexity functions hit harder and soak more damage. Read lore terminals, grab keys for locked rooms, dodge acid pools and spike traps, and reach the green return tile to clear the level.

Clearing a level rolls straight into the next file it can read, carrying your health, ammo, and weapons forward — an entire codebase becomes one continuous campaign.

Privacy

Everything runs client-side. A local workspace is read and parsed entirely in your browser (WebAssembly, no server) and its contents never leave your machine — no backend, no account, no analytics.

Network calls only happen for the features that need them: loading a repo from the Repo tab, hosting or joining a Multiplayer session (which contacts a signaling server, and a relay if your network blocks a direct connection), and picking an online texture pack (served from this site). A local workspace never touches the network at all. Full privacy details.

Pick a Local workspace, load a Repo, launch the Demos, or Continue a saved run from the sidebar to begin.

Highscores

Public Lobby