gabrielecirulli

    gabrielecirulli/2048

    The source code for 2048

    13.5K stars
    17.7K forks
    553 GitHub watchers
    Updated Nov 10, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    The project lists 23 contributors on GitHub.

    Use Cases & Benefits

    • Implements the classic 2048 sliding tile puzzle game in JavaScript for web browsers.
    • Offers a lightweight, open-source, and easily customizable version of 2048 with mobile swipe support.
    • Use for embedding a simple, addictive puzzle game into web projects or learning JavaScript game development.
    • Use for experimenting with game mechanics and UI improvements in browser-based puzzle games.
    • Use for educational purposes to study event handling, state management, and responsive design in JavaScript.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    MIT

    Permissive: commercial use, modification and redistribution are allowed with attribution.

    Community files

    • README: present
    • Contributing guide: present

    Watch-outs

    • Warning: No commits in over a year (last push Oct 2024).
    • No GitHub releases; pin a commit or tag instead of a release.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    A small clone of 1024, based on Saming's 2048 (also a clone). 2048 was indirectly inspired by Threes.

    Made just for fun. Play it here!

    The official app can also be found on the Play Store and App Store!

    Excerpt from the gabrielecirulli/2048 README on GitHub (MIT license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    17.7K+143

    Open issues

    139+3

    Compared with peers in Game Development

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 8, by 7-day star growth

    gabrielecirulli/2048 compared with Game Development repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    Donchitos/Claude-Code-Game-Studios38.1K+4.0K751 day ago
    scenario-labs/skills3.7K+1.4K752 days ago
    playcanvas/engine17.2K—6423 days ago
    hajimehoshi/ebiten13.6K—6425 days ago
    gabrielecirulli/204813.5K—75—
    Xtremilicious/projectlearn-project-based-learning6.4K—18—
    Category median13.6K+2.7K64—

    Discover Repositories

    Search across tracked repositories by name or description