A variant to http://gabrielecirulli.github.io/2048/