I require a program that will effectively time how long between mouse clicks on a button in a program
Example:
The program will have a button called "Zoom"
Right Click mouse on the Zoom button starts the timer
As soon as you right click the mouse, the text on the button will change to "Fire"
-Timer counts upwards in the format 0.001 seconds after you click zoom with right click
Left Click Stops the Timer (and changes the button back to Zoom)
If after you stop the timer, the time is 0.319 or less, it will say BODYSHOT + display an image provided
If after you stop the timer, the time is 0.320 or more it will say HEADSHOT + display an image provided
This is the basic function of the program.
Additional Details:
There should me a menu with 3 options...
1 Freeplay. This will simply allow you to keep timing yourself over and over. ie after you press right click, then left click, it will show the time and Bodyshot/Headshot message, and upon Right clicking again, it will just reset and perform the same timing function.
It should list your AVERAGE time over all attempts in the freeplay session.
2: 10 Shot game.
This will give you 10 attempts at the game. It will list your attempts somewhere in the window.
At the end, you will be given a score.
You gain 1 point for each time on 0.230 or above (ie a Headshot)
It will add up the time above 0.230 , or below 0.230...ie if you get 0.240 , it will add 10 to this variable. If you get 0.220 , it will also add 10 to this variable. This variable is the "error time" variable.
Effectively you want to get as many headshot points you can (up to 10), and as little of the 'error time' variable as possible.
At the end will now say if you gained a high score (You got the 2nd Highest Score!).
the 3rd button will be High Scores.
It will show the top 10 scores.
Ranked from - Points count as the primary goal (ie 8 headshots > 7 headshots).
the 2nd is the lowest 'Error time'
will be given preference, ie (7 headshots + 0.090 error time > 7 headshots + 0.091 error time).