Welcome to the Number Guessing Game! Your challenge is to guess a secret 4-digit number using logic and deduction.

🎯 Goal

Guess the secret 4-digit number. Use feedback after each guess to improve. You win when you get all digits correct and in the correct order.

✅ Game Rules

  • The secret number is a 4-digit number (e.g. 1234).
  • Digits may repeat.
  • After each guess, you get two clues:
    • Correct Digits: Total correct digits (regardless of position)
    • Correct Positions: Digits in the correct spot

🧠 Example

Secret Number: 4271
Your Guess: 1234
➤ Correct Digits: 3 (1, 2, 4)
➤ Correct Positions: 1 (2 is in the correct position)

🏁 Win Condition

You win when all 4 digits are correct and in the correct positions.

⚙️ Tip

Open the Settings panel in the game to enable or disable auto-refresh after a win.

← Back to Game