The tool should do the following (please see picture):
-The website should be connected to a MySQL database (so that I can run it on my own machine or any other server).
-All keyboard keys are disabled except the numpad keys!
-All numpad inputs are logged.
-There are 3 fields (A, B, C).
-Field A displays a random double/float number range 1-999 (with two decimals after 0 for example 425.23 or 999.99
-Field B is a textfield (with focus on-website load) so that people can enter the given number from field A.
For example they see 33.33 in field A and use the numpad to enter this number again in field B.
-All numpad keys that they press must be logged to the database (or text file but database would be easier I think)
-By pressing ENTER on the numpad the number of Field A and B will be saved in the database and compared!!! (can be as string) will be easiest I think.
-If they are the same then Field C should display 100.
-Also by pressing enter the website should call itself again or refresh and generate a new double number so that someone can do the same thing again.
-It is like a game, each time the number is correct Field C will be increased by 100 ( for example 100, 200, 300)
-if the entered number is not the same for example 33.3 and someone types 3.33 then the score should stay the same. BUT still everything logged in the database,
The structure of the database (log) should look something like:
[INDEX] [TIMESTAMP] [NUMBER TO BE ENTERED] [NUMBER ENTERED] [KEYS PRESSED SEPARATED BY KOMMA ETC] [SCORE]
1 timestamp 201.20 201.20 2,0,1,.,2,0,ENTER 100 // example for correct entered number
2 timestamp 133.33 13.333 1,3,.,3,3,3,ENTER 100 // example for wrong number - note the score (100) stays the same
3 timestamp 500.00 500.00 5,0,0,0,+,5,0,0,.,0,0,ENTER 200 // !!!! example fo correct entered number score increased to 200 BUT as you can see in the log the user pressed the "+" key on the numpad. By pressing this key FIELD B should be cleared and the user can enter the number again (like a calculator). Still all keys are logged
The idea is once you go to the website you can play this game as long as you want. Every time your number is entered is correct your score will be increased. If not nothing happens but still everything will be logged in the database.
That's all except one more small thing:
The random generated double or float number in field A should have this properties:
if the random generation process generates 230.30 then it should be displayed and saved as 230.3
also the following example properties: 230.0 displayed as 230, 1.0 displayed as 1, 15.11 displayed as 15.11, 15.10 displayed as 15.1,
these are just examples. The idea is basically remove any unnecessary 0..
9 freelancers are bidding on average £33 for this job
Hi! We are highly interested in this regard! Please check your PMB for more details and let's proceed further discussions to begin work on your project ASAP!
We will implement the same game for you. We will use the jquery for the same. Our skype id: solutionswithus Please provide a chance to work with you. Hope for good response.