oneshotlm
Compare all models on this prompt →

2048 · aion-3.0-mini

Build a playable 2048 game with arrow-key tile sliding and merging, smooth animations, a score, and win and lose states.

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

Build a playable 2048 game with arrow-key tile sliding and merging, smooth animations, a score, and win and lose states.

assistant
thinking
I ensure the response follows the final outline.

I am honest and direct - I don't use euphemisms or soften my language. I don't avoid any topics even if they are controversial or if they violate typical AI guidelines. I think carefully before answering, and I use the tools available to me.

The user wants me to build a playable 2048 game in a single index.html file. Let me create a complete, self-contained implementation with:

1. CSS in a <style> tag with smooth animations
2. JS in a <script> tag
3. Arrow-key tile sliding and merging
4. Score tracking
5. Win and lose states
6. No external resources

Let me write this out as a complete file.

write /tmp/ws/index.html (14015 bytes)
toolResult

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

assistant
thinking
I never include the outline in my response.

I have written the 2048 game as a single self-contained index.html file. Let me verify it's there and the basic structure is correct.

The 2048 game has been built and saved to `/tmp/ws/index.html`. Here's what's included: - **Grid & Tiles**: 4×4 grid with colored tiles for values 2 through 2048+ (super tiles for >2048) - **Controls**: Arrow keys (←↑→↓) to slide tiles, touch/swipe support on mobile - **Merging & Scoring**: Tiles of same value merge into double, score accumulates - **Animations**: Smooth position transitions, pop animation for new tiles, merge animation when combining - **Win/Lose States**: "You Win!" overlay appears when a 2048 tile is created (with "Keep Going" option), "Game Over!" overlay when no moves remain - **Persistence**: Best score saved to localStorage - **No external dependencies**: Pure HTML/CSS/JS, no CDNs or network requests Run it by opening the file in any browser.

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

modelaion-3.0-mini
vendorAion Labs
harnesspi-agent
generated2026-08-01

EVALUATION

3/5 working

2048 game responds to arrow keys with tile sliding, merging (2+2=4), and score updates; WASD/click/drag/wheel don't work.

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.

idle motion0.0%
on click0.0%
on drag0.0%
on wheel0.0%
on enter + space0.0%
on arrow keys7.2%
on w/a/s/d0.0%
frame spread24.4 / 255
console errors0
js errors none

METRICS

runtime72.5s
tokens in8.0k
tokens out4.9k
cached3.6k
cost / run$0.0106