Guessing game 1d