In Progress

Number-Tool

Hi, I need a small website tool in PHP, Javascript/ MySQL.

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 [url removed, login to view] or [url removed, login to view]

-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 [url removed, login to view] 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 [url removed, login to view] 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]

Example:

1 timestamp [url removed, login to view] [url removed, login to view] 2,0,1,.,2,0,ENTER 100 // example for correct entered number

2 timestamp [url removed, login to view] [url removed, login to view] 1,3,.,3,3,3,ENTER 100 // example for wrong number - note the score (100) stays the same

3 timestamp [url removed, login to view] [url removed, login to view] 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 [url removed, login to view] 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, [url removed, login to view] displayed as [url removed, login to view], [url removed, login to view] displayed as 15.1,

these are just examples. The idea is basically remove any unnecessary 0..

Thanks!

Skills: AJAX, HTML, Javascript, MySQL, PHP

See more: javascript tool, idea generation tool, examples idea generation, example idea generation, following number, server load log, mysql load text, string float, load text mysql, generate random number, number call random people, number look, random javascript game, number game, game press, php string remove, machine tool, random string, javascript entered text display, text number 200, think tool, php keyboard, php remove string, mysql random string, php remove text string

About the Employer:
( 22 reviews ) London, United Kingdom

Project ID: #2561745

Awarded to:

rrafiurr

I am ready to complete your project. Please read your pm.

£30 GBP in 2 days
(14 Reviews)
4.2

9 freelancers are bidding on average £33 for this job

rginfotech1

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!

£30 GBP in 1 day
(74 Reviews)
6.5
solutionswithus

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.

£50 GBP in 1 day
(7 Reviews)
6.3
scinova

Hi, I can develop it for you. Thanks

£30 GBP in 1 day
(6 Reviews)
4.7
luantnd

Hi, very easy I can do it quick

£45 GBP in 1 day
(37 Reviews)
4.5
codejamer

Ready to start right now.....please consider my bid.......... Please check PM .

£20 GBP in 1 day
(20 Reviews)
4.1
NulogeCorp

In less then 4 HOURS I'll show you a full working demo.

£30 GBP in 0 days
(16 Reviews)
3.9
mukesh06ni

i can make this tool page for you .check your PMB.

£30 GBP in 1 day
(13 Reviews)
3.4
mnoquiao

We can finish the job in less than 5 hours don't get by the low priced offer, low offers means low product quality.

£50 GBP in 0 days
(0 Reviews)
0.0
BLU0B12bo

Custom software development: w w w . The Administrator removed this message for containing contact details which breaches our Terms of Service . i o

£30 GBP in 1 day
(0 Reviews)
0.0