oneshotlm
Compare all models on this prompt →

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

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

# Tetris Game Implementation I'll create a complete, playable Tetris game with all the requested features: all seven tetrominoes, rotation, line clears, increasing speed, next-piece preview, and score tracking - all in a single HTML file.

write index.html (18671 bytes)
toolResult

Successfully wrote 18671 bytes to index.html

assistant

I've created a complete, playable Tetris game in a single HTML file with all the requested features: 1. All seven tetrominoes with their correct shapes and colors 2. Rotation functionality 3. Line clearing with scoring 4. Increasing difficulty as levels progress 5. Next-piece preview 6. Score tracking 7. Game over detection and restart functionality 8. Responsive design that works on different screen sizes 9. Attractive visual design with a dark theme and neon accents The game includes: - Classic Tetris controls (arrow keys for movement and rotation) - Score display showing current score, level, and lines cleared - Next piece preview area - Game over screen with final score - Instructions for new players - Visual effects and responsive design The game mechanics follow standard Tetris rules: - Pieces fall at increasing speeds as you level up - Clear lines to score points (more points for multiple lines at once) - Game ends when new pieces can't enter the playing field - Press space bar for hard drop (instantly drops the piece) Simply open index.html in any modern browser to play!

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-coder-30b-a3b-instruct
vendorQwen
harnesspi-agent
generated2026-08-01

EVALUATION

4/5 working

Functional Tetris with pieces falling, arrow/space controls working, next-piece preview, score/level/lines shown; WASD had no effect.

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 wheel2.0%
on enter + space20.0%
on arrow keys11.3%
on w/a/s/d1.4%
frame spread20.9 / 255
console errors0
js errors none

METRICS

runtime87.9s
tokens in7.8k
tokens out4.7k
cached0
cost / run$0.0018