oneshotlm
Compare all models on this prompt →

Tetris · gpt-5.6-luna

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 need to create an index.html file, which is a key step in setting up a webpage. I'll probably start by inspecting the directory to check current files with a command like ls. It's all about organizing my thoughts here and making sure I have what I need before I dive in. This is pretty straightforward, but I want to ensure I get everything right from the get-go!
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 a playable game interface**

I need to create a polished single file for a playable game. I want to ensure it includes a keyboard and canvas, so I'll write full HTML. The canvas should measure 300x600, and I'll also include a sidebar. There are several components to implement: seven pieces that can rotate using matrices, a random bag, scoring, levels of speed, and features for pausing, restarting, and previewing the next piece. I’ll write it inline, using the right tools to make it all work.
write /tmp/ws/index.html (9120 bytes)
toolResult

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

assistant

Created `/tmp/ws/index.html` — a self-contained playable Tetris game with: - All seven tetrominoes - Rotation and movement - Soft and hard drop - Line clearing - Increasing speed by level - Next-piece preview - Score, lines, and level tracking - Ghost piece preview - Pause and game-over screens - Responsive styling - 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
vendorOpenAI
harnesspi-agent
generated2026-08-01

EVALUATION

4/5 working

Functional Tetris with next-piece preview, score, falling pieces stacking correctly, and responsive keyboard controls.

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.8%
on click1.0%
on drag1.5%
on wheel0.9%
on enter + space1.6%
on arrow keys2.0%
on w/a/s/d1.8%
frame spread22.8 / 255
console errors0
js errors none

METRICS

runtime23.8s
tokens in9
tokens out3.2k
cached3.5k
cost / run$0.0119