oneshotlm
Compare all models on this prompt →

Tetris · qwen3-30b-a3b-instruct-2507

Build a playable Tetris on a canvas with all seven tetrominoes, rotation, line clears, increasing speed, a next-piece preview, and score.

⛨ sandboxed Open in new tab ↗
transcript · 4 messages
user

Build a playable Tetris on a canvas with all seven tetrominoes, rotation, line clears, increasing speed, a next-piece preview, and score.

assistant

I'll create a complete standalone Tetris game in a single HTML file with embedded CSS and JavaScript. The game will include all seven tetrominoes, rotation, line clearing, increasing speed, next-piece preview, and score tracking.

write index.html (18423 bytes)
toolResult

Successfully wrote 18423 bytes to index.html

assistant

I've created a complete standalone Tetris game in a single HTML file with all the requested features: 1. All seven tetrominoes (I, J, L, O, S, T, Z) 2. Rotation mechanics with collision detection and adjustment 3. Line clearing with proper scoring 4. Increasing speed as levels progress 5. Next-piece preview display 6. Score, level, and lines counter 7. Game over screen with restart functionality 8. Pause functionality (press P) 9. Controls display 10. Responsive design with canvas-based rendering The game is fully self-contained with no external dependencies, using pure HTML, CSS, and JavaScript. All graphics are drawn directly on the canvas using the provided block size and colors. The game loop handles timing, movement, rotation, and collision detection with proper feedback. You can play the game by: - Using arrow keys to move left/right and down - Pressing up arrow to rotate clockwise - Pressing space for hard drop - Pressing P to pause - Clicking "Play Again" to restart after game over The game features increasing difficulty with speed that accelerates as you level up, and you earn bonus points for hard drops.

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

modelqwen3-30b-a3b-instruct-2507
vendorQwen
harnesspi-agent
generated2026-08-01

EVALUATION

3/5 working

Functional Tetris with piece movement, hard drop, score/next preview, but no line clears observed.

Vision grade · anthropic/claude-sonnet-5

MEASUREMENTS

Raw readings from the capture, not a verdict — the grade above is the only judgement. Percentages are how much of the screen changed; the measure under-reports sparse motion on a dark background.

idle motion0.7%
on click1.0%
on drag1.0%
on wheel1.0%
on enter + space2.0%
on arrow keys1.8%
on w/a/s/d1.0%
frame spread93.3 / 255
console errors0
js errors none

METRICS

runtime26.3s
tokens in7.6k
tokens out5.0k
cached2.9k
cost / run$0.0012