Miranor Widget Store
You have to be logged in to use this function.
A clone of the popular game "2048". Use arrow keys or swipe gestures to move all the tiles up, down, left, or right. When tiles with identical numbers collide, they merge into a tile with a number twice as large. A new tile with number 2 or 4 appears after each move (4 appears with 10% probability). The game ends when a tile with the number 2048 appears (win) or when there is no place for a new tile (lose). The game board adapts itself to any window size. Created from scratch in 4.5 hours, including debugging, internal commenting, and optimizing.
Author: Dimitry Rotstein
Tags: demo, example, game, numbers, puzzle, tiles, board, colors, fun, entertainment, addictive
Full Code (Download Widget OR Copy + Paste from Here):