oneshotlm
Compare all models on this prompt →

Tetris · inkling-small

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 single-file Tetris implementation in index.html. Let me build a complete, polished version with all required features.
→ write /tmp/ws/index.html (8908 bytes)
toolResult

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

assistant
thinking
Done. Confirm file exists and summarize features.
→ bash {"command":"ls -la /tmp/ws/index.html"}
toolResult

-rw-r--r--. 1 node node 8916 Aug 1 20:57 /tmp/ws/index.html

assistant
thinking
File exists, ready. Provide brief summary.

Built `/tmp/ws/index.html` — a single-file, self-contained Tetris with all7 tetrominoes, rotation (with wall-keeps), hard/soft drop, next-piece preview, line clears with scoring multiplier, increasing speed by level, score/level/lines display, and a start overlay. Uses canvas and pure inline CSS/JS with no external resources.

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

modelinkling-small
vendorThinking Machines
harnesspi-agent
generated2026-08-01

METRICS

runtime20.5s
tokens in11k
tokens out3.5k
cached7.0k
cost / run$0.0125