Javascript, Data Structure

Fullført Lagt ut Jul 2, 2015 Betales ved levering
Fullført Betales ved levering

Using your JSFiddle account you are going to create a guessing game, only it will be the computer doing the guessing. Here is how it works - the computer will ask you for a number between 1 and 1000, it will check first to make sure your input is within the bounds.

Once you enter the number it will guess the number and do a comparison with the number you entered. It will output the results of the guess and continue to do this until it gets the correct answer. This is what the output of the program will look like (if I enter 329)

Guessed 500 - too high.

Guessed 250 - too low.

Guessed 375 - too high.

Guessed 313 - too low.

Guessed 344 - too high.

Guessed 329 - Got It!

It took me 6 Tries.

HTML JavaScript

Prosjekt-ID: #7988546

Om prosjektet

10 bud Eksternt prosjekt Aktiv Jul 2, 2015

Tildelt til:

jonathanqueipo

I can perform this, what we need is to perform an old school binary search to guess the number in minimum steps. I would gladly develop this project for you

$15 USD på 0 dager
(6 omtaler)
2.2

10 frilansere byr i gjennomsnitt $24 for denne jobben

mishraking

I am web developer with 4 yr of exp . Have done lots of similar jobs accept my bid will start now, also I have good review, I am new here I just need good rating.

$55 USD på 1 dag
(86 Omtaler)
5.6
Flattzi

Aucune proposition n'a encore été fournie.

$30 USD på 0 dager
(17 Omtaler)
4.2
m7shapan

Hello i'm web end developer your game very easy to me i understand. i can start working in your project now if you choose me i'm sure you will be satisfied of my work i hope to work together Thank you

$30 USD på 1 dag
(11 Omtaler)
2.5
bobsoam

Hi, Very simple to do, I'll finish it ASAP. Let me know! ...................................... :)

$15 USD på 0 dager
(0 Omtaler)
0.0
evgeniivakhnov

I am currently working as a fulltime JavaScript developer for a company in private sector. Will implement it the same day whenever you assign it to me.

$14 USD på 0 dager
(0 Omtaler)
0.0
aksbhalerao88

I had done this previosly also. so plz give this for my start on freelancer.i can show you a demo also.

$17 USD på 1 dag
(0 Omtaler)
0.0
burhanuddin061

A proposal has not yet been provided

$14 USD på 1 dag
(0 Omtaler)
0.0
neo272

A proposal has not yet been provided

$15 USD på 1 dag
(0 Omtaler)
0.0