[READ-ONLY] Mirror of https://github.com/metruzanca/blog-demos.
Commits
Author
Commit
Message
Date
Tabs that receive a state_sync before getting an explicit role
assignment now default to spectator, fixing a race condition where
3rd+ tabs could incorrectly become hosts.
Multi-tab tic-tac-toe game using BroadcastChannel API for real-time
sync. First tab becomes host (Player X), second becomes Player O,
additional tabs become spectators. All moves sync instantly across tabs.