Tetris · kimi-k3
Build a playable Tetris on a canvas with all seven tetrominoes, rotation, line clears, increasing speed, a next-piece preview, and score.
transcript · 3 messages
thinking
Write a complete Tetris in one index.html.
/workspace/index.html (10034 bytes)Successfully wrote 10034 bytes to /workspace/index.html
Tetris is complete in `/workspace/index.html` — fully self-contained, no external resources. Features: - **All 7 tetrominoes** (I, O, T, S, Z, J, L) with distinct colors - **Rotation** CW (↑/X) and CCW (Z) with wall kicks - **Line clears** with classic scoring (100/300/500/800 × level) - **Increasing speed** — level up every 10 lines, drop interval shrinks by 15% per level (floor of 60ms) - **Next-piece preview** panel, plus score, lines, and level HUD - **Extras**: ghost piece, hard drop (Space), soft drop, pause (P), restart (R), game-over overlay Open `index.html` in any browser and press **R** to start.
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
EVALUATION
Only a very dim start screen with 'Press R to start' shown; no input tested (R) starts the game, so it stays static.
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.