updated score system and platform collision detection