Use your mouse or touch pad to control the blue ball. Touch the green balls to score points. Touch the red balls to lose points. If you get 1,000 points you win. If you get -1,000 points you lose. The larger the ball the more points you gain or lose.
I learned how to make this from a book.