tofu
TemplatesPricingDocsUse your AI tool
Start free
  1. Templates
  2. Games and parties
  3. Number merge

Number merge

Sliding tile puzzle

From the open-source project 2048

Simple rules, but every move counts on the way to a big number.

Make it mineTry it

“Make it mine” asks you to sign in first. On the Free plan, your copy is your one app; you can delete it any time.
“Try it” opens a copy Tofu keeps online for trying: what you do there stays in your browser.

Number merge
Made by
gabrielecirulli
Licence
MIT
Popularity
13.4k stars on GitHub
Uses
Just a browser

What you can do

  • Swipe or press the arrow keys to slide all the tiles
  • Matching tiles merge into one worth double
  • Beat your best score, saved in your browser

Who it’s forAnyone who likes a quick puzzle in a spare minute

Once it’s yours

  • Your own copy, at its own address
  • Anyone with its address can open it, until you choose who can
  • Change it with your own coding agent

Ideas for changing it

Once it’s live, give any line below to your coding agent.

  • Make the board 5 by 5 instead of 4 by 4

  • Change the tile colors to soft pastel shades

  • Add an undo button for the last move

Source and licence

It comes from the open-source project 2048: its authors, gabrielecirulli, published the code for anyone to use and change. Its licence covers the code, not the name, so the copy on Tofu goes by a plain name.

Its licence, MIT, lets you use and change it freely, as long as you keep the authors’ copyright notice.

Your copy is the version you copied; the authors’ later updates don’t arrive by themselves.

This version on TofuThe authors’ original code

More like this

All templates
  • MahMahjong solitaire gameFind matching mahjong tiles and clear them in pairs until the whole stack is gone.
tofu

Describe an app, or bring one from your agent. Tofu puts it online.

Works with any coding agent

Product

  • Features
  • Pricing
  • Security
  • Agent & CLI

Resources

  • Docs
  • Guides
  • Blog
  • Deploy an app
  • Connect your agent
  • Database
  • Sign-in & email
  • Domains
  • Payments
  • For AI agents

Compare

  • All comparisons
  • Tofu vs. setting it up yourself
  • Ways to put an AI-built app online

Company

  • About
  • Contact

Legal

  • Terms
  • Privacy
  • Domain terms

© 2026 Tofu

trytofu.ai