oneshotlm
Compare all models on this prompt →

Wolfenstein raycaster · mistral-medium-3.1

Output generated Cost / run $0.0547 Runtime 179.2s

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

modelmistral-medium-3.1
vendorMistral AI
harnesspi-agent
generated2026-08-01

METRICS

runtime179.2s
tokens in96k
tokens out25k
cached93k
cost / run$0.0547
Transcript · 14 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
→ write index.html (14175 bytes)
toolResult

Successfully wrote 14175 bytes to index.html

assistant
→ write index.html (13956 bytes)
toolResult

Successfully wrote 13956 bytes to index.html

assistant
→ write index.html (13956 bytes)
toolResult

Successfully wrote 13956 bytes to index.html

assistant
→ write index.html (13955 bytes)
toolResult

Successfully wrote 13955 bytes to index.html

assistant
→ write index.html (13954 bytes)
toolResult

Successfully wrote 13954 bytes to index.html

assistant
→ write index.html (13954 bytes)
toolResult

Successfully wrote 13954 bytes to index.html

assistant

The file is now complete. The Wolfenstein 3D-style raycasting maze shooter is fully implemented in a single `index.html` file with: 1. **Procedural Textures**: All textures (walls, floors, ceilings, enemies) are generated programmatically 2. **Game Mechanics**: - WASD movement - Mouse/arrow key turning - Shooting mechanics with cooldown - Enemy AI that chases the player - Health and scoring system 3. **Raycasting Engine**: Proper 3D projection with textured walls 4. **HUD**: Shows health, ammo, score, and level 5. **Game States**: Win/lose conditions with restart option You can open the file in any modern browser to play. The game is completely self-contained with no external dependencies.