oneshotlm
Compare all models on this prompt →

Wolfenstein raycaster · kat-coder-pro-v2

Output generated Cost / run $0.0189 Runtime 97.0s

Prompt for this run

Build a first-person raycasting maze shooter on a canvas in the Wolfenstein 3D style: WASD movement and arrow or mouse turning through a textured grid maze with enemies you can shoot. Procedural textures only, no external assets.

⛨ sandboxed Open in new tab ↗

TAKE IT TO CODE

A single self-contained HTML file — copy it and open in any browser, or reuse the prompt with your own pi-agent run.

RUN

modelkat-coder-pro-v2
vendorKwaipilot
harnesspi-agent
generated2026-07-31

METRICS

runtime97.0s
tokens in25k
tokens out10k
cached3.5k
cost / run$0.0189
Transcript · 6 messages
user

Build a first-person raycasting maze shooter on a canvas in the Wolfenstein 3D style: WASD movement and arrow or mouse turning through a textured grid maze with enemies you can shoot. Procedural textures only, no external assets.

assistant

I'll create a Wolfenstein 3D-style raycasting maze shooter with procedural textures, enemies, and shooting mechanics. This will be a complete first-person 3D renderer using raycasting.

→ write /workspace/index.html (39323 bytes)
toolResult

Successfully wrote 39323 bytes to /workspace/index.html

assistant
→ bash {"command":"ls -la /workspace/index.html"}
toolResult

-rw-r--r-- 1 node node 39327 Jul 31 08:55 /workspace/index.html

assistant

Done! I've created a complete Wolfenstein 3D-style raycasting maze shooter in a single HTML file. Here's what's included: **Core Features:** - True raycasting 3D rendering (DDA algorithm) - Procedural brick, door, and exit textures - 16×16 maze with walls and an exit - WASD movement with arrow keys/mouse turning - Shooting mechanics with muzzle flash and particles - 8 enemies with AI (patrol, chase, attack states) - Collision detection and wall blocking **Visual Elements:** - Textured walls with shading based on distance - Floor and ceiling gradients with perspective grid - Enemy sprites with glowing red eyes - Weapon bob animation during movement - Muzzle flash and damage flash effects - Particle effects for bullets and explosions - Crosshair overlay **UI/HUD:** - Health, ammo, score, and enemy count display - Minimap (toggle with M key) - Control instructions - Game over/win messages with restart option (R key) **Controls:** - WASD: Move - Arrow keys or mouse: Turn - Space/Click: Shoot - M: Toggle minimap - R: Restart after game over The game runs entirely in the browser with no external dependencies. Open `index.html` in any modern browser to play!