A browser-based clone of the classic 2048 puzzle game, built with vanilla JavaScript — no frameworks, just the DOM.
Merge matching tiles by sliding them with the arrow keys. Every move shifts the whole 4x4 grid, combines equal neighbors, and drops a new tile in — the score updates live as you go.
- HTML5 / CSS3
- Vanilla JavaScript (grid logic, merge/collision detection, win/lose state)
git clone https://github.com/akshiit02/2048-Game.git
cd 2048-GameOpen index.html in a browser — no build step needed.
- Touch/swipe support for mobile
- Persisted high score (
localStorage) - Tile slide/merge animations