Forked version of Gabriel Cirulli's 2048