How To Play KrackTheKode

Objective

Guess the secret 4-digit code in as few attempts as possible. You have a maximum of 10 attempts to crack the code!

  1. 1. Make A Guess

    Enter any 4-digit number as your guess. Each digit must be unique (no repeating digits allowed).

  2. 2. Understand The Feedback

    After submitting, you'll receive two pieces of information to help you narrow down the correct code:

    Exists

    How many digits from your guess exist somewhere in the secret code, regardless of position.

    Example: Your Guess: 1234, Code: 7249
    E: 2 (because digits 2 and 4 exist in the code)

    Correct

    How many digits are in the correct position (this is always ≤ the number in Exists).

    Example: Your Guess: 1234, Code: 7249
    C: 1 (because only digit "2" is in the correct position)
  3. 3. Winning Condition

    Getting C: 4 means you have correctly guessed the code and won the game!

  4. 4. Game Over

    If you don't guess the code within 10 attempts, the game ends and reveals the secret code.

💡 Strategy Tips

  • • Start with a systematic approach (e.g., 1234, then 5678)
  • • Use the Exists and Correct values to eliminate possibilities
  • • Remember: no digit repeats in the secret code
  • • Pay attention to which digits you've already tried