Based on the rules of the game, we can move all tiles to one of the 4 sides: up, down, right, or left.
When we do this, tiles with a value of 2 or more go in one direction (the direction of the move), and empty
cells move in the opposite direction.
At this stage, we'll implement a left shift. To d
2048 (Part 7/18)
- 3
Locked
Comments (1)
- Popular
- New
- Old
You must be signed in to leave a comment
kalyan
2 August 2019, 05:54
Please somebody help with this. Game2048 part(7/18).
How can I perform this shift left of elements and return true/false accordingly..?
+2