Tetris · qwen3-vl-32b-instruct
Output generated Cost / run $0.0025 Runtime 51.4s
Prompt for this run
Build a playable Tetris on a canvas with all seven tetrominoes, rotation, line clears, increasing speed, a next-piece preview, and score.
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 playable Tetris on a canvas with all seven tetrominoes, rotation, line clears, increasing speed, a next-piece preview, and score.
index.html (12981 bytes)Successfully wrote 12981 bytes to index.html
I've created a complete, playable Tetris game in a single HTML file as requested. The game includes: - All seven tetrominoes (I, J, L, O, S, T, Z) with their respective colors - Rotation using the Up Arrow key - Movement left/right with Left/Right Arrow keys - Hard drop with Space bar - Line clearing with score calculation - Increasing speed as level increases - Next piece preview - Score, level, and speed display - Game over detection and restart The game is fully self-contained with CSS and JavaScript inline, requiring no external resources or network requests. It runs entirely in the browser sandbox. The game is ready to play! You can open index.html in any modern browser to start playing. Press Space to begin if the game hasn't started yet.