oneshotlm
Compare all models on this prompt →

Space Invaders · inkling-small

Build a playable Space Invaders game on a canvas: a player cannon that moves and shoots, a descending grid of aliens that advance and fire back, destructible bunkers, score, and lives. Procedural graphics only, no external assets.

⛨ sandboxed Open in new tab ↗
transcript · 6 messages
user

Build a playable Space Invaders game on a canvas: a player cannon that moves and shoots, a descending grid of aliens that advance and fire back, destructible bunkers, score, and lives. Procedural graphics only, no external assets.

assistant
thinking
The user wants a space invaders game in a single index.html file. I'll build a complete canvas-based game with procedural graphics.
→ write /tmp/ws/index.html (9152 bytes)
toolResult

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

assistant
thinking
The file is written. Let me confirm quickly with ls.
→ bash {"command":"ls -la /tmp/ws/index.html"}
toolResult

-rw-r--r--. 1 node node 9154 Aug 1 20:50 /tmp/ws/index.html

assistant
thinking
The file exists and is complete. I'll provide a brief summary of the game features.

Created `/tmp/ws/index.html`: a self-contained Space Invaders game with procedural canvas graphics — player cannon, descending alien grid with movement/shooting, destructible procedural bunkers, particle explosions, score/lives tracking, win/lose states, keyboard and mouse controls, no external assets.

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

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