You want to avoid all the obstacles and win the game. If the timer is at 0 then you lose. If you fall you lose. You use the arrow keys to move.
I got the idea from the book "Coding Games in Scratch".