Guess the Number Game

A few months back, I managed to create a second draft of a popular number guessing game. My first draft was an elementary attempt, and one of the first JavaScript code I wrote. It was for proving I could write JavaScript code and its execution flow. I revisited the exercise and decided to use jQuery and create something more interactive and fun.

The exercise employs Binary Search Algorithm. It is one of my favourite algorithms due to its simple and logical approach. It is very useful for getting people to think in terms of binary.

The second draft can be visited here. In the third draft I’m planning on using MV* structure, in particular Backbone.js.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s