firebase-realtime-patterns

Community

Real-time Mahjong rooms with Firebase/Supabase.

AuthorTeng-AI
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Patterns for implementing real-time multiplayer using Firebase Realtime Database (or Supabase).

Core Features & Use Cases

  • Room management (create/join/leave) with seat assignments and presence
  • Synchronized game state across clients, including phases and hand visibility
  • Security rules and presence handling to protect player data and room state
  • Debugging patterns for diagnosing sync issues and ensuring reliability

Quick Start

Start by wiring a Firebase or Supabase project, then initialize a room and begin listening to the game state.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: firebase-realtime-patterns
Download link: https://github.com/Teng-AI/mahjong/archive/main.zip#firebase-realtime-patterns

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.