dev.

Merge Path

2048-style sliding tile puzzle on a 4×4 grid — swipe to merge equal tiles, reach 2048 to win, then keep going for a higher score.

Description

Swipe in any of the four cardinal directions to slide all tiles on the board. Tiles with the same value that collide during a slide merge into a single tile worth twice as much. After each valid move, a new tile (value 2 or 4) spawns in a random empty cell.

Reach a tile worth 2048 to win — but the game does not force you to stop. Continue building after 2048 and chase a higher score. The game ends when the board is completely full and no merge is possible.

Features

  • Classic 2048 mechanics — merge equal tiles by sliding the whole board
  • Win at 2048, continue beyond — clear the win screen and keep playing
  • Animated tile movement — smooth slide and merge animations
  • Best score tracking — persists across sessions
  • Pure Flutter — swipe detection via GestureDetector, tile rendering via widgets
  • Endless post-win play — no artificial ceiling after 2048

How to Play

  1. 1.Swipe up, down, left, or right to slide all tiles in that direction
  2. 2.When two tiles of the same value collide, they merge into one tile worth double
  3. 3.A new tile spawns in a random empty cell after each valid move
  4. 4.Reach a tile worth 2048 to win
  5. 5.Continue playing after 2048 to achieve a higher score
  6. 6.Game over when the board is full and no merges are possible

Strategy Tips

  • Keep your highest tile in a corner — build outward from it
  • Avoid swiping in the direction that moves your highest tile away from its corner
  • Plan two or three moves ahead — merges cascade and create new merge opportunities
  • A 4-tile spawn (10% chance) is a gift when the board is tight

Changelog

Feedback

Found a bug? Have a feature idea? Something unclear? Use the form below.

Describe what happened, what you expected, and your environment.