Overview
The Name to Face game is a multiple-choice variation where you see a student’s name and must select their profile picture from four options. This is the easiest face recognition game since you just need to click rather than type.URL Pattern:
/minijuegos/adivina-imagen/<group_id>/Minimum Students: 4 with profile picturesHow to Play
Game Mechanics
Picture Selection
Fromminigames/views.py:149-153:
- Select a random target student (avoiding the last one shown)
- Pick 3 other students as distractors
- Add the target to create 4 total options
- Shuffle so the correct answer isn’t always in the same position
Scoring
Session variables tracked:name_to_face_correct: Number of correct selectionsname_to_face_total: Total attempts
Answer Validation
Fromminigames/views.py:142:
Anti-Repetition Logic
The game avoids showing the same target name twice in a row:The anti-repetition only applies to the target name. The same students may appear as distractor options in multiple rounds.
Student Requirements
Fromminigames/views.py:134-136:
- At least 4 students (excluding yourself) with profile pictures
- All students must have uploaded a profile picture
- You are automatically excluded from appearing as an option
AJAX Implementation
Fromminigames/views.py:146:
Role-Based Access
For Students
Fromminigames/views.py:125-129:
For Teachers
Teachers must select a class from the group selection screen or provide agroup_id in the URL.
Tips for Success
Study Profile Pictures
Study Profile Pictures
Before playing, review your classmates’ profiles in the classmates list to familiarize yourself with their pictures.
Use Process of Elimination
Use Process of Elimination
If you’re unsure, eliminate options you know are wrong to improve your odds.
Look for Distinctive Features
Look for Distinctive Features
Hair style, accessories, and backgrounds can help you remember who’s who.
Pay Attention to Names
Pay Attention to Names
Sometimes the name itself can trigger your memory of what the person looks like.
Session State
The game maintains these session variables:name_to_face_correct: Correct answers countname_to_face_total: Total attempts countname_to_face_target_id: Current target student IDname_to_face_last_id: Previous target (for anti-repetition)
Comparison with Other Recognition Games
| Feature | Name to Face | Face Guess | Hangman |
|---|---|---|---|
| Input Type | Click/Select | Free text | Letter selection |
| Difficulty | Easy | Medium | Hard |
| Minimum Students | 4 | 1 | 1 |
| Answer Hints | Yes (4 options) | No | Yes (picture + blanks) |
| Time Pressure | Low | Medium | Low |
Technical Implementation
View Function:name_to_face_game() in minigames/views.py:123-160
Key Features:
- Multiple choice with 4 options
- Randomized option order
- Anti-repetition for target selection
- Automatic role-based class detection
- AJAX for instant feedback
- Student count validation (minimum 4)
Common Issues
Not Enough Students Error
Not Enough Students Error
Cause: Fewer than 4 students in your class have profile pictures.Solution:
- Ask classmates to upload their profile pictures
- Teachers can remind students about profile completion
- Try other games that require fewer students (Face Guess, Hangman)
Same Options Appearing
Same Options Appearing
Cause: Small class size means limited student pool for options.Solution: This is normal if you have exactly 4-5 students with pictures. The game will cycle through available combinations.
Can't See Pictures
Can't See Pictures
Cause: Network issues loading images from Cloudinary.Solution:
- Check your internet connection
- Wait a moment for images to load
- Refresh the page if images don’t appear after 5 seconds
Next Steps
Try Face Guess
Test yourself with free-text name entry - more challenging
Complete Profile Challenge
Advanced multiple choice with comprehensive profile data
Playing Games Guide
Learn strategies for all game types
Upload Your Picture
Help classmates practice by completing your profile