This is a simple demo of some game mechanics that you may want to use in your own projects. Use your mouse to control the cat. Catching the mouse will earn you 1 point, and getting caught by the dog will cause you to lose 20 health points. See the comments on individual scripts for more information.