Core gameplay loop
Move and jump across platforms
Collect rubbish and coins to increase score
Avoid hazards such as falling or enemies
Lose a life if the player fails
Restart the level if the player falls
Progress to the next level by reaching an exit
Win and loss conditions
Win a level: reach the exit (after collecting required items, if enabled)
Lose a life: fall off the layout or collide with hazards
Game over: lives reach zero