Project Overview
Multiplayer Concept
A multiplayer educational quiz experience designed for classrooms and immersive learning environments such as the Igloo CAVE. Each player uses a controller or keyboard to answer questions, with real-time score tracking, vibration feedback, and detailed performance reports.
๐ฎ Multi-Controller ๐ง Live Quiz ๐งช CAVE Ready ๐ Auto Reports ๐ฏReal-Time Tracking
๐งโ๐คโ๐ง Multiplayer Support
4-6 simultaneous players
Mix of Xbox, PlayStation controllers + keyboard (Can be disabled)
Automatic player controller detection via script
Player name entry and device info display
Real-time correct, wrong, and missed counts
๐ฎ Controller Input
Xbox: A / B / X / Y buttons for answers
PlayStation: ร / โ / โก / โณ buttons for answers
Keyboard: R / T / Y / U keys for answers
Unitys new Input System integration
Unique controller ID per player
Controller vibration feedback (Xbox supported)
๐ฎ Gameplay Flow
Setup: Players enter their names, select round quantity and identify devices in the setup screen
Quiz Start: Rounds of multiple-choice questions begin
Answer Phase: Players press their assigned buttons to select answers
Visual Feedback: Player names becomes green when they choose an answer
Result Display: Correct option flashes green after all players answer
Score Update: Real-time score tracking visible to all players
Auto-Reports: TXT and PDF reports generated automatically at session end
๐ก Visual Feedback System
Player name flashes green when they choose an answer
Correct answer option flashes green after all responses
Player panel flashes green if answer is correct, otherwise flashes red if answer wrong.
Real-time stat updates on screen for all players
Clear display of correct/wrong/missed counts
Screen Space Canvas for CAVE multi-projector sync
๐ง Quiz System
JSON-based question files
Three difficulty levels: Easy / Medium / Hard
Adjustable round and question counts
Optional timer for each question
Automatic handling of missed questions after timeout
Multiple-choice format with 4 options per question
๐ Automatic Report Generation
Every session generates comprehensive reports automatically at the end of the quiz:
๐ TXT Summary Report
Player names and devices used
Correct, wrong, and missed answer counts
Per-question results breakdown
Time taken per question
Optional remarks and explanations
๐ PDF Report (NuGet Integration)
Professional formatted report
One page per player with header and watermark
Summary cards with scores and timing
Table of all answers with details
Generated using QuestPDF library
๐ Quiz Editor App
A lightweight browser-based editor for teachers:
Create, edit, and preview quizzes
Export JSON files in game-ready format
Difficulty tagging and validation included
Works offline in any browser
โ๏ธ Technical Implementation
PDF Generation via NuGet
Unity doesnt ship a native PDF API, so this project uses NuGetForUnity to integrate mature .NET libraries:
QuestPDF โ Fluent C# PDF layout engine
SkiaSharp โ 2D drawing backend (QuestPDF dependency)
HarfBuzzSharp โ Advanced text shaping (Unicode, ligatures, RTL)
๐ง Educational Benefits
Collaborative Learning: Students compete and learn together in shared space
Immediate Feedback: Visual confirmation of correct/wrong answers
Knowledge Recall + Reflex: Combines thinking speed with accuracy
Performance Tracking: Detailed reports for assessment and improvement
Engagement: Game-like format increases student participation
Group Sessions: Perfect for classroom quizzes, campus exhibitions, or CAVE demos
๐ JSON Quiz Format
[
{
"category": "Easy",
"question": "What is 2 + 2?",
"options": ["1", "2", "3", "4"],
"correctAnswerIndex": 3
}
]
๐ฎ Future Plans
Expanded controller support (more device types)
Enhanced visual effects and animations
Difficulty progression system
Team mode (collaborative answering)
Why Igloo CAVE Integration?
Igloo CAVE systems offer 360ยฐ wall and floor projection, transforming simple games into fully immersive learning experiences. Multiple players can physically share the same space while answering on their individual controllers, creating a unique blend of physical co-location and competitive learning.
This project uses world-space and Screen space Canvas linked to CAVE cameras for synchronized display across all projectors. It works seamlessly with the Igloo Unity Toolkit (v1.3.8+) and 6-projector configurations (front, left, right, floor), ensuring every player and spectator can clearly see questions, answers, and real-time scores from any angle.
The CAVE environment is ideal for classroom demonstrations, group assessments, and interactive learning sessions where immersion and collaboration enhance educational outcomes.
๐ License Information
QuestPDF โ Free for community / educational use
SkiaSharp / HarfBuzzSharp โ MIT License
Unity Project โ Educational / Non-commercial use