oneshotlm
Compare all models on this prompt →

Tetris · north-mini-code

Build a playable Tetris on a canvas with all seven tetrominoes, rotation, line clears, increasing speed, a next-piece preview, and score.

⚠ no runnable output

This one-shot run produced no runnable artifact.

agent produced no index.html

The transcript below shows what the model did — read it to see why the one shot fell short.

transcript · 2 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 me to build a playable Tetris game using pure HTML, CSS, and JavaScript - a single self-contained HTML file with no external dependencies. The requirements include:

1. A playable Tetris game
2. All seven tetrominoes
3. Rotation functionality
4. Line clears
5. Increasing speed
6. Next-piece preview
7. Score tracking

I need to create a single index.html file in the current directory with:
- CSS in a <style> tag
- JavaScript in a <script> tag
- No external resources, CDNs, or network requests

Let me start by creating the basic structure:

1. HTML skeleton
2. Canvas setup for the game
3. Game logic including:
   - Tetromino shapes and rotations
   - Game board
   - Movement (left, right, down)
   - Rotation
   - Line clearing
   - Score tracking
   - Speed increase
   - Next piece preview
4. Game loop and UI

I'll start by creating the file and building the game step by step.
write /workspace/index.html (19543 bytes)

TAKE IT TO CODE

This run produced no artifact — reuse the prompt with a different model or your own pi-agent run.

RUN

modelnorth-mini-code
vendorCohere
harnesspi-agent
generated2026-07-22

METRICS

runtime
tokens in1.5k
tokens out5.3k
cached0
cost / run$0.0000