This game is highly inspired by the popular game 2048 of Gabriele Cirulli. The original game can be found http://git.io/2048.
Merge adjacent square with the same number by moving them all to the top, to the bottom, to the right or to the left in order to finally reach 2048. Play to get the highest score in the shortest time!
You can choose the mode (power of 2 or 3 / Fibonacci) and the size of the table.
This implementation is largely based on the one of Danqing Liu.