oneshotlm
Compare all models on this prompt →

Wolfenstein raycaster · kat-coder-pro-v2

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 ↗
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!

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

EVALUATION

3/5 working

Raycasting maze renders with textured walls, minimap, HUD; WASD moves/turns and triggers damage flash, click fires ammo, but enemies never visible.

Vision grade · anthropic/claude-sonnet-5

MEASUREMENTS

Raw readings from the capture, not a verdict — the grade above is the only judgement. Percentages are how much of the screen changed; the measure under-reports sparse motion on a dark background.

idle motion0.0%
on click17.3%
on drag12.0%
on wheel19.8%
on enter + space0.0%
on arrow keys0.1%
on w/a/s/d6.9%
frame spread38.4 / 255
console errors0
js errors none

METRICS

runtime97.0s
tokens in25k
tokens out10k
cached3.5k
cost / run$0.0189