oneshotlm
Compare all models on this prompt →

Tetris · nemotron-3-ultra-550b-a55b

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
The user wants a complete Tetris game in a single HTML file with:
- Canvas-based rendering
- All 7 tetrominoes (I, O, T, S, Z, J, L)
- Rotation
- Line clears
- Increasing speed
- Next-piece preview
- Score tracking

I'll create a self-contained index.html file with all CSS, JS, and HTML inline.
write /workspace/index.html (19646 bytes)
toolResult

Successfully wrote 19646 bytes to /workspace/index.html

assistant
thinking
The file has been created. Let me verify it exists and check if there are any issues.
bash {"command":"ls -la /workspace/index.html"}
toolResult

-rw-r--r-- 1 node node 19654 Jul 22 17:54 /workspace/index.html

assistant
thinking
The file has been created successfully. Let me provide a summary of what was built.

Created `/workspace/index.html` — a complete, self-contained Tetris game with: **Features implemented:** - **All 7 tetrominoes** (I, O, T, S, Z, J, L) with distinct colors - **Rotation** with wall-kick system (attempts offsets 0, ±1, ±2) - **Line clears** with classic scoring (100/300/500/800 × level) - **Increasing speed** — drops 80ms faster per level (min 100ms) - **Next-piece preview** in side panel - **Score, level, lines** tracking with live updates - **Ghost piece** showing landing position - **Hard drop** (Space), **soft drop** (↓), **move** (←→), **rotate** (↑), **pause** (P) - **Touch controls** for mobile: swipe left/right, down for soft drop, up for rotate, double-tap for hard drop - **Game over screen** with final score and restart button **Visual polish:** - Neon green/blue color scheme with glow effects - Block highlights/shadows for 3D look - Subtle grid lines - Responsive overlay animations Open `index.html` in a 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

modelnemotron-3-ultra-550b-a55b
vendorNVIDIA
harnesspi-agent
generated2026-07-22

EVALUATION

4/5 working

Functional Tetris with score, level, lines, next-piece preview, piece stacking, 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 motion1.0%
on click1.1%
on drag1.1%
on wheel2.0%
on enter + space2.6%
on arrow keys1.6%
on w/a/s/d1.6%
frame spread22.3 / 255
console errors0
js errors none

METRICS

runtime33.7s
tokens in15k
tokens out5.4k
cached128
cost / run$0.0196