clicking on the space button makes unicorn run away from obstacles. The more unicorn doesn't touch the ball, the score will be more. Once it touched the ball, GAME OVER.
Made this project with help of scratch.