listos los mermaids que explican el juego

This commit is contained in:
2025-08-07 22:47:31 -06:00
parent 5b3efc533f
commit 426d4b7ab6
16 changed files with 518 additions and 1 deletions

16
matchmaking.mmd Normal file
View File

@@ -0,0 +1,16 @@
sequenceDiagram
participant OR as Orchestrator
participant MM as Matchmaker
participant P as PlayerPool
participant R as RoomFactory
OR->>MM: start phase (Gx) for ALL
MM->>P: collect all available players (200)
MM->>P: shuffle randomly
loop pair players
MM->>R: create room with pair (P1,P2) and roles
R-->>MM: roomId
end
MM-->>OR: rooms created for all pairs
OR->>R: broadcast startRound(1) to all rooms