A text-based number guessing game