Documentation Navigation (Diรกtaxis)
๐Ÿ“š Documentation Hub

Party Games Documentation Hub (Diรกtaxis Architecture)#

Welcome to the comprehensive documentation suite for the multiplayer party games platform on marco-silva.com.

This documentation is architected strictly according to the Diรกtaxis documentation framework, separating technical writing into four distinct quadrants based on the reader's mode of interaction:

                      Practical Steps / Action
                                 โ–ฒ
                                 โ”‚
              TUTORIALS          โ”‚        HOW-TO GUIDES
          (Learning-oriented)    โ”‚     (Problem/Task-oriented)
                                 โ”‚
Acquisition of skill โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ Application of skill
(Study / Learning)               โ”‚             (Work / Problem-solving)
                                 โ”‚
              EXPLANATION        โ”‚          REFERENCE
        (Understanding-oriented) โ”‚     (Information-oriented)
                                 โ”‚
                                 โ–ผ
                     Theoretical / Cognition

๐Ÿงญ The 4 Diรกtaxis Quadrants#

1. Tutorials (Learning-Oriented Lessons)#

Lessons designed for beginners, guiding them through a zero-friction, step-by-step experience from initial room setup to completing a game round: - Getting Started with Party Games: A complete first-timer walkthrough for creating a room, inviting friends via QR, and playing a live match. - Hosting Your First Lupus / Werewolf Night: Beginner guide for a new Game Master orchestrating role reveal, the first night phase, and day voting. - Playing SmartN in Couch Mode: How to pass around a single smartphone as the physical "Smartbox" toy during dinner or game night. - Running a Secret Santa Exchange: Quickstart guide to creating an exchange room, collecting friend wishlists, pairing targets, and peeking privately.


2. How-To Guides (Problem-Oriented Recipes)#

Goal-directed, recipe-style guides for competent organizers, Game Masters, and players solving specific challenges: - How to Host Secret Santa with Exclusions: Setting forbidden pairings (partners, roommates, siblings), custom budgets, and deadline dates. - How to Game Master Lupus with Advanced Roles: Configuring asymmetric roles, running defense speeches, handling ties, and exporting JSON replays. - How to Calibrate Clues in Rank It! (ito): Discussing subjective spectrums and placing cards from 1 to 100 in ascending order without naming numbers. - How to Run a High-Speed Stop! Race: Customizing category decks, configuring clash penalties, setting timer pressure, and moderating disputes. - How to Play Don't Say Anti-Hivemind: Running both typed and oral/speed modes while avoiding groupthink collisions. - How to Use SmartN GM Drawer & Overrides: Accessing hidden GM controls, adjusting target points mid-game, adding couch players, and overriding disputed answers.


3. Reference (Information-Oriented Specifications)#

Authoritative, dry, and exhaustive technical descriptions of the platform machinery: - Party Games Overview & Rules: Comprehensive comparison matrix across all 9 games (player counts, duration, win conditions, input styles, language support). - Scoring Formulas & Point Matrices: Mathematical scoring formulas for Stop!, Don't Say, SmartN (basket vs permanent points), and Rank It! (lives & life tokens). - Lupus Role Catalogue: Full specification for all 25+ roles (team alignment, aura, night priority order 1..10, action triggers, and win conditions). - Decks & Question Packs Catalogue: Complete catalog of question packs across SmartN (164 trivia cards), Rank It! (100 spectrum topics), Stop! categories, and Word Impostor pairs. - Matching Algorithms & Constraints: Mathematical specifications for derangements, directed Hamiltonian cycles ($p_1 \to p_2 \dots \to p_n \to p_1$), and randomized MRV backtracking. - WebSocket Actions & URL Routes: Complete API specification for clean URLs (/play/), WebSocket message types, schemas, and session keys.


4. Explanation (Understanding-Oriented Architecture & Essays)#

Deep architectural essays, game theory analysis, and party dynamics: - Party Game Psychology & Group Dynamics: Why push-your-luck risk curves (SmartN), consensus calibration (ito), and social deception (Impostor & Lupus) create different party energies. - Anti-Hivemind Game Design: Game theory of collision penalties, and how Levenshtein edit distance and Unicode normalization balance fairness with speed. - Combinatorics of Secret Santa: Why naive shuffles fail, why 2-cycles ($A \leftrightarrow B$) ruin gift exchanges, and how directed Hamiltonian cycles guarantee optimal matching. - Zero-Spoiler Security Architecture: How server-side projection via get_sanitized_player_view on Django Channels prevents unrevealed state from ever reaching client DOM or memory. - Evolution of Party Game URLs & WebSockets: The architectural transition from legacy name-in-URL paths to clean session-first URLs, and tuning Daphne Redis socket timeouts.


๐Ÿ“š Foundation for Technical Blog Posts#

This documentation hub provides the verified technical foundation for upcoming long-form blog posts on Marco's site covering: 1. Designing Anti-Hivemind Games: The Joy of Penalizing Groupthink 2. The Mathematics of Secret Santa: Directed Hamiltonian Cycles in Practice 3. Push-Your-Luck Psychology: Building Real-Time Trivia for Couches & Phones 4. Zero-Spoiler Architecture: Securing Real-Time Hidden Role Games with Django Channels