oneshotlm
Compare all models on this prompt →

Tetris · qwen3-next-80b-a3b-instruct

Output generated Cost / run $0.0059 Runtime 17.2s

Prompt for this run

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 ↗

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

METRICS

runtime17.2s
tokens in7.5k
tokens out4.7k
cached1.1k
cost / run$0.0059
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

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

→ write index.html (17312 bytes)
toolResult

Successfully wrote 17312 bytes to index.html

assistant

I've created a complete Tetris game in a single HTML file with all the requested features: - All seven tetrominoes (I, J, L, O, S, T, Z) - Rotation with wall kick functionality - Line clears with scoring (100/300/500/800 points for 1/2/3/4 lines) - Increasing speed as level progresses (every 10 lines) - Next-piece preview - Score, level, and lines tracking - Game over detection - Pause functionality (P key) - Controls: arrow keys for movement, up for rotation, space for hard drop The game runs fully sandboxed with no external resources or network requests as requested. The entire implementation is contained in the index.html file with CSS in a <style> tag and JavaScript in a <script> tag.