oneshotlm
Compare all models on this prompt →

Tetris · gpt-5.6-luna-pro

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 · 6 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
thinking
**Creating index.html**

I see that I need to create an index.html file. It might be a good idea to first inspect the current working directory to understand where I'm starting from. This will help me figure out where to save the new file. I want to ensure everything is organized and in the right place. Once I know the location, I can proceed with setting up the HTML structure!
bash {"command":"pwd && ls -la"}
toolResult

/tmp/ws total 0 drwxr-sr-x. 2 node node 6 Aug 1 18:02 . drwxrwsrwx. 3 root node 16 Aug 1 18:02 ..

assistant
thinking
**Planning Tetris Implementation**

I need to create a single and polished file for a Tetris game. It seems essential to use canvas, ensuring it supports both keyboard and touch controls since the user requested it to be playable. I plan to write the full HTML without external dependencies and include overlays for starting, game over, and previews. 

The game will feature seven tetrominoes with basic rotation and wall kicks. I'll also implement increasing speed and a pause feature.
write /tmp/ws/index.html (11556 bytes)
toolResult

Successfully wrote 11556 bytes to /tmp/ws/index.html

assistant

Created `/tmp/ws/index.html` with a self-contained playable Tetris game featuring: - All seven tetrominoes - Rotation in both directions - Line clearing - Increasing drop speed and levels - Score, lines, and level tracking - Next-piece preview - Ghost piece - Soft and hard drop - Keyboard and mobile controls - Pause and game-over states - No external resources or network requests

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

modelgpt-5.6-luna-pro
vendorOpenAI
harnesspi-agent
generated2026-08-01

EVALUATION

4/5 working

Neon Tetris menu and gameplay work, pieces fall, rotate, move, score/next-piece update correctly.

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.0%
on click0.0%
on drag2.6%
on wheel0.0%
on enter + space3.5%
on arrow keys1.2%
on w/a/s/d0.9%
frame spread20 / 255
console errors0
js errors none

METRICS

runtime50.3s
tokens in18k
tokens out14k
cached19k
cost / run$0.0531