JavaScript canvas version of Flappy 2048 game