Wolfenstein raycaster · qwen3-vl-8b-instruct
Output generated Cost / run $0.0041 Runtime 51.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.
I'll build a first-person raycasting maze shooter in the Wolfenstein 3D style. This will be a single HTML file with embedded CSS and JavaScript, using only procedural textures.
index.html (25370 bytes)Successfully wrote 25370 bytes to index.html
I've created a complete first-person raycasting maze shooter in the Wolfenstein 3D style. The game includes: 1. WASD movement for player navigation 2. Arrow keys or mouse turning for directional control 3. A procedurally generated maze with textured walls 4. Enemies that move toward the player 5. Shooting mechanics with bullets 6. Health system and score tracking 7. HUD displaying health and score The game runs entirely within a single HTML file with embedded CSS and JavaScript, using only procedural textures without any external assets. You can now run this game by opening the index.html file in any modern web browser. The player starts at position (128, 128) in the maze, and enemies will spawn randomly around the map. Use WASD to move and shoot with the mouse or arrow keys to turn. The game ends when you're hit by an enemy, after which you'll be prompted to reload the page to restart. The implementation includes: - Raycasting algorithm for 3D perspective rendering - Collision detection with walls and enemies - Bullet physics and collision detection - Enemy AI that follows the player - Procedural texture generation - Game over state with restart functionality This is a complete, self-contained game that meets all the requirements specified in your request.