You've to guess an interger from 1 to 100 and depending on the level of difficulty you'll get chance to win.
If you choose hard you'll get 5 chance to guess and if you choose easy you'll get 10 chances. Try out the game and let me know in how many cases the code might fail.