2048 is the perfect two-to-five-minute time filler. Every version I’ve found wraps it in ads or requires an app download. I needed a version that loads instantly from the hub home screen with zero friction. So I ported one.
What It Is
Standard 2048 mechanics — 4x4 grid, merge rules, arrow keys on desktop, swipe on mobile — implemented as a first-class React game module in the Wanessa Labs Games Hub. It implements the hub’s GameProps interface, shares the hub’s design language, and persists best score via localStorage.
Not a reinvention. Just a version we own, can maintain, and can load without being served an ad first.
Features
- 4x4 grid with standard merge rules
- Arrow keys (desktop) and swipe gestures (mobile)
- Score and best-score persistence across sessions
- Win at 2048 tile with option to continue
- Share score card (emoji grid format)
- Hub-integrated at
/games/2048
Stack
| Tool | Role |
|---|---|
| React + TypeScript | Game module inside wanessalabs-games |
| Tailwind | Hub-consistent styling |
| localStorage | Score and session persistence |
| Cloudflare Pages | Hosted inside wanessalabs-games hub |