News for hackers. Stuff that matters.
Re:Show HN: Tiao, A two-player turn-based board game by yashwi_ on Monday April 27, 2026 @01:59PM (#47924984)
Nice implementation. Out of curiosity, how are you handling multiplayer state sync?

For a board game like this I’d imagine sending move events and letting clients recompute the board locally rather than syncing the whole board every turn. Curious what approach you took.

Re:Show HN: Tiao, A two-player turn-based board game by trebeljahr on Wednesday April 29, 2026 @05:42AM (#47946114)
You can look at the repo to find out the details.

Essentially sending moves over web socket and the server having authority to accept/reject them to prevent cheating moves. Client updates optimistically and rolls back if server rejects/network times out etc.