js-challenges

Game - Guess the number

Background & Objectives

The aim of this challenge is to create a game to guess the number.

Specs

We need to provide a UI like the following where the player can specify:

Once the player guesses correctly he gets an alert congratulating him and indicating how many retires he needed.

The end result could look like this: screenshot

You can check the expected solution / play the game here here.