Reusable Patterns & Decision Guide

This directory contains distilled, actionable game design and technical patterns for the Genies Unified Game Template. These patterns provide game-agnostic guidance derived from successful reference implementations (such as Sister Brawl).

Decision Guide: Which Pattern Do I Need?

When implementing mechanics, networking, or UI, consult the table below to find the correct pattern.

When you are…Use this PatternWhy?
Teaching a new mechanicInvisible TutorialPrevent modal walls; teach through gameplay context and safe environments.
Handling impacts, scoring, or damageHit Feedback & JuiceMake actions feel rewarding and punchy using hit-stop, shake, and audio.
Changing core game rules or architectureKnowledge Base DriftEnsure the Fun Stack and codebase remain synchronized using the Genius Sync Protocol.
Dealing damage, updating score, or resolving hazardsServer-Authoritative HazardsKeep the server as the ultimate arbiter while allowing client-side prediction.

Pattern Structure

Each pattern document follows a strict contract designed for AI agents and developers:

  1. Problem: The context and issue being solved.
  2. Pattern: The architectural or design solution.
  3. When to use: Specific scenarios triggering this pattern.
  4. Anti-patterns: Common mistakes or incorrect approaches.
  5. Acceptance checks: A strict checklist to verify correct implementation.
  6. Reference: Example references or context (e.g., Sister Brawl).

By adhering to these patterns, you guarantee consistency, maintainability, and high-quality gameplay across the Genius Engine ecosystem.

Ask Docs

AI assistant to help answer questions about the documentation. Answers are read-only and cite docs/source.

Hi! How can I help you with the documentation today? Answers are read-only and cite docs/source.

Ctrl+Enter to send