2048 · qwen3-next-80b-a3b-instruct
Output generated Cost / run $0.0060 Runtime 12.9s
Prompt for this run
Build a playable 2048 game with arrow-key tile sliding and merging, smooth animations, a score, and win and lose states.
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 2048 game with arrow-key tile sliding and merging, smooth animations, a score, and win and lose states.
I'll create a standalone 2048 game in a single HTML file with all the required features: arrow-key controls, tile sliding and merging, smooth animations, score tracking, and win/lose states.
index.html (20929 bytes)Successfully wrote 20929 bytes to index.html
I've created a fully functional 2048 game in a single HTML file with all the requested features: - Arrow key controls for sliding tiles - Smooth animations for tile movement - Tile merging when identical numbers collide - Score tracking that updates in real-time - Win state when reaching 2048 - Lose state when no moves remain - Retry button to restart the game - No external resources or network requests (fully sandboxed) The game is implemented with CSS for styling and JavaScript for game logic, all contained within the index.html file. The tiles have smooth transitions, different colors based on their values, and the game properly detects win/lose conditions.