2048 is a single-player puzzle game created in March 2014 by 19-year-old Italian web developer Gabriele Cirulli, in which the objective is to slide numbered tiles on a grid to combine them and create a tile with the number 2048.
It is a type of sliding block puzzle, Cirulli created the game as a clone of Veewo Studios' app 1024 and getting the idea from Sami "Saming" Romdhana's clone 2048, and was surprised when his game received over 4 million visitors in less than a week. The game is free to play. He released a free app version of the game for iOS and Android in May 2014.
2048 became a viral hit .You can play its web version here.
The below link "Building the 2048 game in AngularJS" will show you Angular's power in the Client Side.(as you all know games usually require lots of low-level DOM manipulation and angular has that potential )

The AngularJS build link is a useful next step after playing 2048: moving tiles and merging equal values are simple rules, but keeping the board state and animation in sync is an interesting implementation exercise. I would start with the 4×4 grid and merge logic, then add visuals only after the interactions work. If someone adapts that exercise into a character-based 2D game, a sprite sheet generator could help with character frames while the game logic stays the focus. Did you try the AngularJS version yourself?
ReplyDelete