oneshotlm
Compare all models on this prompt →

Asteroids · deepseek-chat

Build a playable Asteroids game on a canvas: a thrust-and-rotate vector ship that shoots and wraps around the screen edges, splitting asteroids into smaller pieces, with score and lives. Procedural vector graphics only, no external assets.

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

Build a playable Asteroids game on a canvas: a thrust-and-rotate vector ship that shoots and wraps around the screen edges, splitting asteroids into smaller pieces, with score and lives. Procedural vector graphics only, no external assets.

assistant
→ write index.html (11353 bytes)
toolResult

Successfully wrote 11353 bytes to index.html

assistant

I've created a fully self-contained `index.html` file with a playable Asteroids game. Here's what's included: - **Vector-based graphics** for the ship and asteroids (no external assets) - **Player controls**: - Arrow keys to rotate left/right and thrust forward - Spacebar to shoot - **Game mechanics**: - Asteroids split into smaller pieces when hit - Screen wrapping for both ship and asteroids - Collision detection for ship and bullets - Lives system and score tracking - Game over/restart functionality (press 'R') You can open the file in any modern browser to play. The game runs entirely client-side with no network dependencies.

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

modeldeepseek-chat
vendorDeepSeek
harnesspi-agent
generated2026-08-01

METRICS

runtime90.4s
tokens in6.3k
tokens out3.1k
cached0
cost / run$0.0038