I am trying to create a Flash game where the player will try and guess where an object is. I have a timer and what i want to do is award points each player depending on the distance to the actual object and depending on how quick they made the guess. I have the distance figured out and of course the time. But i can not figure out how to award points. I want the person with the closest guess in the shortest amount of time to have the most points.