I wonder if you guys have seen this little game: http://gabrielecirulli.github.io/2048/
It's quite popular nowadays.
The main focus of the game is to get to the 2048 tile. It involves moving the entire 4x4 tileset left, right, up or down. Each tile in the tileset holds a number which is a power of 2. Say we have: (E stands for empty square)
Code: Select all
2 4 2 8
E 2 2 E
8 2 4 E
E E E E
So if I move the tileset up,
Code: Select all
2 4 4 8
8 4 4 E
E 2 E E
E E E 2 --> Random tile
Have fun.