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.
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
METRICS
Transcript · 14 messages
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.
index.html (14175 bytes)Successfully wrote 14175 bytes to index.html
index.html (13956 bytes)Successfully wrote 13956 bytes to index.html
index.html (13956 bytes)Successfully wrote 13956 bytes to index.html
index.html (13955 bytes)Successfully wrote 13955 bytes to index.html
index.html (13954 bytes)Successfully wrote 13954 bytes to index.html
index.html (13954 bytes)Successfully wrote 13954 bytes to index.html
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.