Number Guessing Game
Classic guess-the-number game with hints, optimal binary search analysis, and a reverse mode where the computer guesses your number.
Acerca de esta herramienta
Play the classic number guessing game with a twist — after you solve it, the game shows the binary search strategy that would have found the number in the minimum possible guesses. Choose Easy (1–50), Medium (1–100), or Hard (1–1000) difficulty, or set a fully custom range. The computer picks a secret random number; you guess and receive 'too high' or 'too low' feedback until you find it. A visual history list tracks every guess and narrows the displayed range in real time. The info panel always shows how many guesses you've used and the theoretical minimum (⌈log₂ n⌉). After solving, an animated walkthrough demonstrates the optimal binary search path step by step. In Reverse Mode, you think of a number and the computer guesses it using binary search — you only reply Higher, Lower, or Correct. Perfect for understanding algorithmic thinking and search complexity.
Cómo usar
- 1 Choose a difficulty (Easy, Medium, Hard) or set a custom min/max range.
- 2 Type your guess in the input field and press Enter or click Guess.
- 3 Read the 'Too High' or 'Too Low' hint and use the narrowing range display to plan your next guess.
- 4 Continue guessing until you find the number — your guess count is tracked throughout.
- 5 After solving, click 'Show Optimal Strategy' to see the binary search walkthrough.
- 6 Try Reverse Mode: think of a number and let the computer find it using binary search.
Preguntas frecuentes
Lance dados poliédricos de RPG usando notación estándar como 2d6+1d8+5.
Lance dados, lance monedas al aire, saque cartas aleatorias y genere números aleatorios — todo criptográficamente aleatorio.
Classic card-flip memory matching game with emoji themes, multiple grid sizes, and best-score tracking.
Visualice la sucesión de Fibonacci, la espiral áurea animada y la convergencia de la razón hacia φ.