Space Invaders · gpt-4o-mini-2024-07-18
Output generated Cost / run $0.0012 Runtime 18.9s
Prompt for this run
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.
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
METRICS
Transcript · 4 messages
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.
index.html (5074 bytes)Successfully wrote 5074 bytes to index.html
The Space Invaders game has been successfully built and written into a single HTML file. You can find it named `index.html` in the current directory. You can open this file in a web browser to play the game.