Overview
The Face Guess game shows you a classmate’s profile picture and challenges you to type their name correctly. This tests your ability to recognize faces and remember names.URL Pattern:
/minijuegos/adivina/<group_id>/Minimum Students: 1 with profile pictureHow to Play
Type Their Name
Enter the student’s name in the text input field. You can use their:
- Full name
- First name
- Last name
- Username
- Nickname
Flexible Answer Validation
The game accepts multiple variations of a student’s name fromminigames/views.py:80-96:
Examples of Accepted Answers
For a student named “María González García”:- ✅
Maria(accent removed, partial match) - ✅
MARIA GONZALEZ(case insensitive, partial match) - ✅
Gonzalez(last name) - ✅
maria gonzalez garcia(full name, lowercase) - ❌
Ma(too short, less than 3 characters)
Text Normalization
The game uses the same normalization as Hangman fromminigames/views.py:12-18:
- Accents don’t matter:
José=Jose - Case doesn’t matter:
maría=MARIA - Spaces are preserved
Scoring System
Session variables tracked:face_guess_correct: Number of correct identificationsface_guess_total: Total attempts
Anti-Repetition Logic
Fromminigames/views.py:109-114:
AJAX Implementation
The game can use AJAX for instant feedback fromminigames/views.py:103-104:
Student Filtering
Fromminigames/views.py:65:
- ✅ Only includes students with profile pictures
- ✅ Excludes yourself (you can’t guess your own name)
- ✅ Uses
.distinct()to avoid duplicates
Tips for Success
Start with First Names
Start with First Names
Typing just the first name is often enough for a match. Try the simplest version first.
Don't Worry About Accents
Don't Worry About Accents
Type “Jose” even if the name is “José”. The game automatically handles accents.
Partial Matches Work
Partial Matches Work
You can type part of a name (minimum 3 characters) and still get credit.
Try Different Name Parts
Try Different Name Parts
If you can’t remember the full name, try just the last name or a nickname.
Look Carefully at the Picture
Look Carefully at the Picture
Sometimes subtle details in the profile picture can jog your memory.
Role-Based Access
For Students
Fromminigames/views.py:55-59:
For Teachers
Teachers see a class selection screen if they don’t specify agroup_id in the URL.
Session State
Session variables used:face_guess_correct: Correct answers countface_guess_total: Total attempts countface_guess_target_id: Current student being guessedface_guess_last_id: Previous student (for anti-repetition)
Technical Implementation
View Function:face_guess_game() in minigames/views.py:52-121
Key Features:
- Flexible answer validation (5 name fields accepted)
- Partial matching for convenience
- Text normalization for accents and case
- Anti-repetition logic
- AJAX support for instant feedback
- Role-based automatic class detection
Comparison with Other Games
| Feature | Face Guess | Hangman | Name to Face |
|---|---|---|---|
| Input Type | Free text | Letter selection | Multiple choice |
| Difficulty | Medium | Hard | Easy |
| Partial Credit | Yes | No | No |
| Minimum Students | 1 | 1 | 4 |
Next Steps
Try Name to Face
Multiple choice version - easier gameplay
Try Hangman
Letter-by-letter guessing - more challenging
Playing Games Guide
Learn strategies for all game types