BoardTrack.component
README.md
boardKit.BoardTrack
One multiplayer race board on its own synced entity (spawn it with BK.Board { ... } from boardKit.api in a scene's build). The peer that owns the entity (the room host) is the board's host: it runs the rules (boardKit.rules), applies every request (move, choose a way, sit, free a seat, restart, change a setting) and writes the public state field; every peer builds the same board from the synced settings and seed, animates the pawns (hop, slide, blink or fly, spreading out when they share a space), rings the pawn whose turn it is and raises the events. A player who joins sees the board as it stands; a seat whose player leaves is skipped (leave = "skip") or freed for anyone (leave = "free"). Its panel shows the seats, whose turn it is, the last thing that happened and, at a fork, two buttons for the way to take (mouse, touch, or a gamepad's d-pad and south button). In edit mode it runs a local preview and writes nothing.