Full functionality of hot and cold game with restriction on input to just numbers