RoundState.component
README.md
RoundState
The shared copy of a puttCourse.round stroke-play round. In play the round puts one on a synced entity named PuttRound_<id>, spawned by the host. The peer that owns that entity is the round's authority: it applies every shot, penalty and holed ball and writes state (with version bumped), and every other peer reads it. When the owner leaves, the engine hands the entity to a peer that stays, which picks the round up from the last state.
Fields: roundId (string), version (number), state (table: phase, holes, players with per-hole strokes, stars and penalties). Added by the round module; never add it by hand.