Wolfenstein raycaster · qwen3-coder-flash
Output generated Cost / run $0.0081 Runtime 82.9s
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 · 4 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.
# Wolfenstein 3D Style Raycasting Maze Shooter I'll create a first-person raycasting maze shooter inspired by Wolfenstein 3D with procedural textures, enemy AI, and shooting mechanics - all in a single HTML file.
index.html (28805 bytes)Successfully wrote 28805 bytes to index.html
I've created a complete Wolfenstein 3D-style raycasting maze shooter in a single HTML file. The implementation includes: 1. **Procedural Raycasting Engine**: - First-person perspective with 60-degree field of view - Distance-based shading for realistic depth perception - Textured walls generated procedurally 2. **Game Mechanics**: - WASD movement controls - Mouse look for turning - Shooting with mouse click - Enemy AI that chases the player - Health system and scoring 3. **Visual Elements**: - Procedurally generated textures for walls - Simple enemy sprites with eyes - Bullet effects - Health and ammo HUD - Start screen and game over screen 4. **Game Features**: - Maze exploration with destructible walls - Enemy spawning and elimination - Ammo management - Score tracking - Collision detection The game is fully contained in one HTML file with no external dependencies. All graphics are generated procedurally using canvas drawing techniques. To play: 1. Click "START GAME" 2. Use WASD keys to move around 3. Move mouse to look around 4. Click to shoot enemies 5. Avoid enemies to preserve health 6. Eliminate enemies to earn points The game features a complete game loop with win/lose conditions and restart capability.