Movement Mechanism:
In a 4×4 grid, slide all number blocks in the same direction (up, down, left, right) until they hit the edge or are blocked by other blocks.
After each valid move, the system will randomly generate a new number in an empty cell (90% chance of being 2, 10% chance of being 4).
Merge Logic:
Adjacent blocks with the same number will merge into the sum of the two when they collide (e.g., 2 + 2 = 4, 4 + 4 = 8).
Each block can only merge once in a single move to prevent chain reactions from disrupting the balance.
Win/Loss Determination:
Winning condition: Any block reaches 2048 (some versions support custom goals).
Losing condition: The grid is full and there are no adjacent blocks that can be merged.