clone of http://gabrielecirulli.github.io/2048/ written in groovy