I did a few things, and commented on everything what it does, so I hope that it makes sense. There is a bug still where the game ending condition gets repeatedly triggered if you're touching the game over thing when you're dead and I didn't bother fixing that, but that may result in a score getting set to all spots in the list lower than you. I also didn't test the actual cloud functionality but just assumed that if it works locally it prolly also does globally.