edit from 2048(https://github.com/gabrielecirulli/2048)