fixed guesses variable inside play function