Get Started in Minutes
This guide will walk you through your first Pica y Fija game, from creating a room to making your winning guess.Pica y Fija requires exactly 2 players. You’ll need a friend to play with, or you can join a public room to be matched with another player.
Playing the Game
Access the Game
Navigate to the game in your browser. You’ll see the lobby screen with three options:
- 🎮 Crear Sala (Create Room)
- 🔎 Buscar Sala (Find Public Room)
- 📩 Unirse por Código (Join by Code)
The game uses WebSocket connections for real-time communication, so make sure your network allows WebSocket traffic.
Create or Join a Room
Choose one of the following methods:
Option A: Create a Private Room
- Click “Crear Sala”
- Configure your game settings:
- Tiempo por turno: Set turn duration in seconds (default: 60)
- Sala pública: Check to make room discoverable
- Requiere aprobación: Check to manually approve joiners
- Click “Confirmar”
- Share the room code with your friend
Option B: Join a Public Room
- Click “Buscar Sala”
- The game will automatically match you with an available public room
- If no rooms are available, you’ll see: “No hay salas públicas disponibles”
Option C: Join by Code
- Click “Unirse por Código”
- Enter the room code (6 characters)
- Click “Unirse”
- The room exists
- The room has space (maximum 2 players)
Set Your Secret Number
Once both players are in the room, you’ll see the game interface with a secret number input.Choose your 4-digit secret number:
Invalid numbers: 1123 (repeated 1), 5555 (all same), 123 (only 3 digits)The server validates your input:After both players submit their secrets, the game begins automatically and you’ll hear the game start sound.
- Must be exactly 4 digits
- All digits must be different (e.g., 1234 ✓, 1123 ✗)
- Enter it in the “Número secreto” field
- Click “Estoy Listo” (I’m Ready)
Invalid numbers: 1123 (repeated 1), 5555 (all same), 123 (only 3 digits)The server validates your input:
Make Your Guesses
The game alternates turns between players. When it’s your turn:
-
You’ll see:
- 🟢 “¡Es tu turno!” message
- The guess input field becomes enabled
- A countdown timer starts (⏳ Tiempo restante: XXs)
- Enter your guess in the “Tu intento” field (4 unique digits)
- Click “Adivinar” before time runs out
-
Review the feedback in the results table:
- Jugador (Player): “yo” (you) or “oponente” (opponent)
- Turno (Turn): Turn number
- Intento (Attempt): The guessed number
- Picas: Correct digits in wrong positions
- Fijas: Correct digits in correct positions
Understanding the Feedback
Let’s say the secret number is 1234:| Your Guess | Picas | Fijas | Explanation |
|---|---|---|---|
| 1234 | 0 | 4 | Perfect! You win! |
| 1243 | 2 | 2 | 1 and 2 are fixed, 3 and 4 are in wrong positions |
| 5678 | 0 | 0 | No correct digits |
| 4321 | 4 | 0 | All correct digits, all wrong positions |
| 1567 | 0 | 1 | Only 1 is correct and in the right position |
Use the filter dropdown to view:
- Todos los turnos: All attempts from both players
- Solo mis turnos: Only your attempts
- Solo del oponente: Only opponent’s attempts
Turn Timer
Each turn has a time limit set by the room creator. If you don’t guess in time:- ⏰ “Se acabó el tiempo del turno. Pasando turno…”
- Your turn ends automatically
- The turn passes to your opponent
Win the Game
Continue making guesses and analyzing feedback until:You Win 🎉
- You get 4 Fijas (all digits correct in correct positions)
- The overlay shows ”🎉 ¡Ganaste!”
- Victory sound plays
- The game ends
- Your opponent gets 4 Fijas first
- The overlay shows ”💀 Perdiste”
- Defeat sound plays
- The game ends
After a game ends, you’ll need to create or join a new room to play again.
Quick Tips for Success
Strategy: Start with a diverse guess
Strategy: Start with a diverse guess
For your first guess, use digits that are far apart (e.g., 1357 or 2468) to maximize information gained. This helps you quickly identify which digits are in the secret number.
Keep track of previous attempts
Keep track of previous attempts
The results table shows all your previous guesses and their feedback. Use this history to deduce the secret number logically. Pay attention to patterns in Picas and Fijas.
Watch the timer
Watch the timer
Don’t let the clock run out! If you’re unsure, make an educated guess rather than losing your turn. You can always adjust your strategy on the next turn.
Use the filter feature
Use the filter feature
Filter the results table to focus on your own attempts when planning your next guess. This reduces visual clutter and helps you think clearly.
Example Game Flow
Here’s what a typical game looks like:Troubleshooting
Error: 'Sala no encontrada'
Error: 'Sala no encontrada'
The room code you entered doesn’t exist. Double-check the code with your friend or create a new room.
Error: 'La sala ya está llena'
Error: 'La sala ya está llena'
The room already has 2 players. Pica y Fija only supports 2 players per room. Create or join a different room.
Error: 'El número debe tener 4 cifras diferentes'
Error: 'El número debe tener 4 cifras diferentes'
Your secret number or guess has repeated digits or isn’t exactly 4 digits. Make sure all 4 digits are unique.
Error: 'No es tu turno'
Error: 'No es tu turno'
You tried to guess when it’s not your turn. Wait for the 🟢 “¡Es tu turno!” message before making a guess.
Opponent disconnected
Opponent disconnected
If your opponent disconnects, you’ll see “Tu oponente se ha desconectado” and the game will end. You’ll need to start a new game.
Next Steps
Game Rules
Learn detailed game rules and scoring
Architecture
Understand how the game is built