Use keyboard arrows to avoid the obstacles, and spacebar to continue playing after losing.