⏱ Capsule Public Gaming

2048

Ezarwebmaster· Jul 18, 2026

Locked Reference Prompt

IMMUTABLE

Scientific timeline lock active

Build a polished, single-file "2048" game as ONE self-contained index.html. HARD CONSTRAINTS (failing any = failing the task): - Exactly one file: index.html. All CSS and JS inline. No build step, no npm, no bundler. It must run by simply opening the file — 100% offline. - No external requests of any kind: no CDN, no <script src=…>, no web fonts, no fetch/XHR, no external images. Use only system fonts and CSS/canvas. GAME REQUIREMENTS: - Classic 4x4 grid. New game starts with two random tiles (value 2 or 4). - Arrow keys AND WASD move tiles. Also support touch swipe on mobile. - Correct merge rules: tiles slide, equal neighbors merge once per move, a tile already formed by a merge this move cannot merge again. Adding a tile only happens if the board actually changed. - After each valid move, spawn one new tile (2 or 4) in a random empty cell. - Score counter (increment by the merged tile's value) AND a "best" score that PERSISTS across reloads via localStorage. - Win detection at 2048 (with a message + option to keep playing) and game-over detection when no move is possible (no empty cell and no adjacent equals). - A "New game" button that fully resets, and smooth CSS animations for tile spawn and movement/merge. - Responsive layout (works down to ~320px wide) and keyboard focus handled so arrow keys work immediately without clicking first. QUALITY BAR: - Tasteful visual design (colored tiles per value, readable numbers, clean spacing) — it should look finished, not a wireframe. - No console errors. No dead buttons. Edge cases handled (rapid key presses, full board, win-then-continue). DEFINITION OF DONE: opening index.html shows a fully playable, good-looking 2048 where merges are correct, best score survives a reload, and win/lose both work.

Add a Benchmark Run

Sign in to run this prompt against hundreds of models with your own OpenRouter key and archive the results.

Timeline (2 runs)

Run Activity

2 runs in the last 6 months

Jan
Feb
Mar
Apr
May
Jun
Jul
LessMore

Cost vs Speed

size = output tokens · top-left is best

Need at least 2 runs with a cost and a generation speed to plot this chart.

Capsule Stats

Runs
2
Total cost
$0.7984
Tokens
284k
Avg latency
Models
2
Web Searches
0
Top provider OpenRouter×2
37k reasoning last today
Tip: Select 2 or more runs via their "Compare" buttons — or filter by company below and compare them all at once — then open the Compare Studio: verdicts, benchmark bars, charts, side-by-side reading and response diff.

Benchmark Run — Jul 18, 2026 Latest

OpenRouter
OpenRoutergemini-3.5-flash
openrouter/google/gemini-3.5-flashJul 18, 2026, 03:40:19 AM
Excluded from Winners
Latency
client → response
Input Tokens
150,847
prompt tokens
Output
35,917
generated
Total Tokens
210,842
in + out
Billed Cost
$0.7832
OR Credits
Reasoning
24,078
thinking tokens
Model Output

(No text response)

Benchmark Run — Jul 18, 2026

OpenRouter
OpenRoutermimo-v2.5
openrouter/xiaomi/mimo-v2.5Jul 18, 2026, 03:18:54 AM
Excluded from Winners
Latency
client → response
Input Tokens
38,612
prompt tokens
Output
21,129
generated
Total Tokens
73,154
in + out
Billed Cost
$0.0152
OR Credits
Reasoning
13,413
thinking tokens
Model Output

(No text response)