seats.module
README.md
pickerKit.seats
The multiplayer side of pickerKit. Every player gets one synced seat entity of their own (pickerKit.PickerSeat, spawned with entity.spawnSynced and owned by their machine) holding their name, user id, host flag and their pick for every picker id. Every machine reads every present seat, so picks and ready states show everywhere and late joiners receive them in the room snapshot. all() lists the present players (this machine first), setMine writes this machine's pick, ensure() spawns the seat in play. Game code uses pickerKit.api (pickOf, picks, onPicked) instead.