My own version of 2048 game