Modified version of 2048 by Gabriele Ciruli.