The aim of this challenge is to create a game to guess the number.
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:
You can check the expected solution / play the game here here.