2048
The actual production 2048 package, collapsed into one local HTML artifact without changing its board, input, animation, or storage code.
Each tile is a semantic DOM node, but its movement is expressed as a translated grid position. The game manager owns the state; the actuator turns that state into classes, score changes, and animation.
This is the real Arcade document and runtime, not a visual imitation. Package files are embedded inside the frame so the production remains local and deploys as one HTML file.
- Source
gabrielecirulli/2048- Version
- Arcade snapshot 13f0821 · 2026-06-04
- Author
- Gabriele Cirulli
- License
- MIT
- Runtime
- DOM + CSS transforms
- Input
- Keys + touch
- State
- localStorage
- Install
- One self-contained HTML
What it demonstrates
- A strict separation between the grid model and its HTML actuator.
- Responsive CSS that preserves a square playfield and touch gestures.
- A multi-file production package converted to data URIs and inline modules for an HTML-only install.
Provenance note: Installed from ~/sanzcloud/projects/arcade/site/games/2048/index.html. Inlined the package CSS, Clear Sans fonts, and nine JavaScript files; removed Arcade lobby, telemetry, and vendor hooks. Gameplay code and markup are otherwise source-faithful.
2048 is MIT licensed, copyright © 2014 Gabriele Cirulli. The Arcade registry records gabrielecirulli/2048 under MIT.
Read the bundled MIT license text
The MIT License (MIT) Copyright (c) 2014 Gabriele Cirulli Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.