Just a few modifications to Gabriele Cirulli's 2048 (https://github.com/gabrielecirulli/2048)