Scoring System Overview
After each guess, you receive feedback in two numbers:- Fijas: Digits that are correct AND in the correct position
- Picas: Digits that are correct BUT in the wrong position
What is a Fija?
A Fija (“fixed” or “exact”) occurs when a digit in your guess matches the digit in the secret number at the same position.Think of Fijas as “perfect matches” - right digit, right spot.
- Secret number:
5892 - Your guess:
5234 - Position 0:
5=5✓ This is a Fija - Position 1:
2≠8✗ - Position 2:
3≠9✗ - Position 3:
4≠2✗
2 is in the secret number but in a different position)
What is a Pica?
A Pica (“hint” or “clue”) occurs when a digit in your guess exists in the secret number but at a different position.Think of Picas as “partial matches” - right digit, wrong spot.
- Secret number:
5892 - Your guess:
2345 - Position 0:
2≠5, but2exists at position 3 in the secret ✓ This is a Pica - Position 1:
3≠8, and3doesn’t exist anywhere ✗ - Position 2:
4≠9, and4doesn’t exist anywhere ✗ - Position 3:
5≠2, but5exists at position 0 in the secret ✓ This is a Pica
The Calculation Algorithm
Here’s the exact algorithm the server uses to calculate Picas and Fijas:- Loop through each position (0-3)
- If the digit at position
iin the guess matches the digit at positioniin the secret → increment Fijas - Otherwise, if the digit exists anywhere in the secret number → increment Picas
- Return both counts
Comprehensive Examples
Let’s work through several examples with the same secret number:7304
Example 1: All Wrong
| Secret | Guess | Position 0 | Position 1 | Position 2 | Position 3 | Fijas | Picas |
|---|---|---|---|---|---|---|---|
7304 | 1256 | 1≠7 (no match) | 2≠3 (no match) | 5≠0 (no match) | 6≠4 (no match) | 0 | 0 |
Example 2: One Fija
| Secret | Guess | Position 0 | Position 1 | Position 2 | Position 3 | Fijas | Picas |
|---|---|---|---|---|---|---|---|
7304 | 7256 | 7=7 ✓ | 2≠3 (no match) | 5≠0 (no match) | 6≠4 (no match) | 1 | 0 |
Example 3: Two Picas
| Secret | Guess | Position 0 | Position 1 | Position 2 | Position 3 | Fijas | Picas |
|---|---|---|---|---|---|---|---|
7304 | 0765 | 0≠7 (0 exists at pos 2) | 7≠3 (7 exists at pos 0) | 6≠0 (no match) | 5≠4 (no match) | 0 | 2 |
Example 4: One Fija, Two Picas
| Secret | Guess | Position 0 | Position 1 | Position 2 | Position 3 | Fijas | Picas |
|---|---|---|---|---|---|---|---|
7304 | 7043 | 7=7 ✓ | 0≠3 (0 exists at pos 2) | 4≠0 (4 exists at pos 3) | 3≠4 (3 exists at pos 1) | 1 | 3 |
Example 5: All Correct Digits, Wrong Order
| Secret | Guess | Position 0 | Position 1 | Position 2 | Position 3 | Fijas | Picas |
|---|---|---|---|---|---|---|---|
7304 | 4307 | 4≠7 (4 exists at pos 3) | 3≠3… wait, 3=3 ✓ | 0=0 ✓ | 7≠4 (7 exists at pos 0) | 2 | 2 |
Example 6: Perfect Match (Win!)
| Secret | Guess | Position 0 | Position 1 | Position 2 | Position 3 | Fijas | Picas |
|---|---|---|---|---|---|---|---|
7304 | 7304 | 7=7 ✓ | 3=3 ✓ | 0=0 ✓ | 4=4 ✓ | 4 | 0 |
Understanding the Feedback
The result is sent to both players after each guess:Strategy Tips
Using Picas to Your Advantage
Using Picas to Your Advantage
When you receive Picas without Fijas, you know those digits are in the secret number but need to be rearranged. Try permutations of those digits in subsequent guesses.Example:
- Guess
1234→ 2 Picas, 0 Fijas - Next try:
2143or3412to test different positions
Maximizing Information from Each Guess
Maximizing Information from Each Guess
Your first few guesses should aim to identify which digits are in the secret number. Try using completely different digits:
- Guess 1:
1234 - Guess 2:
5678 - Guess 3:
9012
When You Have High Picas
When You Have High Picas
If you get 3-4 Picas, you’re very close! The secret number contains those exact digits, just in a different arrangement.Example:
- Secret:
5892 - Guess:
2985→ 0 Fijas, 4 Picas - You now know the secret is some permutation of 2, 9, 8, 5
- Try:
5928,8592,9258, etc.
Edge Cases
Maximum possible sum: Since there are only 4 positions, the maximum value of (Fijas + Picas) is 4. You cannot have 3 Fijas and 2 Picas, for example.
Zero Feedback
If you receive 0 Fijas and 0 Picas, none of your guessed digits are in the secret number. This is actually very valuable information! Example:- Guess
1234→ 0 Fijas, 0 Picas - You can now eliminate 1, 2, 3, and 4 from all future guesses
- Try
5678,9056, etc.
All Picas, No Fijas
This means you have the right digits but all in the wrong positions. Example:- Secret:
5892 - Guess:
2985→ 0 Fijas, 4 Picas - Simply rearrange these exact 4 digits to find the solution