Ask HN: Any multiplayer game synchronisation experts on HN? Hi game devs of HN. I'm building an app that lets you play html5 games while you video chat. My multiplayer games like checkers and Ludo keep losing state mid-game session but I noticed games like Poker with friends (https://cdn-factory.marketjs.com/en/poker-with-friends/index.html) & Ludo with friends don't have this problem no matter how many times I minimize the browser window. My game communication interface currently uses websockets and engages a retry mechanism with message acknowledgement, so a message gets resent if the ack fails to arrive within a short period of time. Does anyone know how html5 online multiplayer games like those listed above maintain their state no matter what? can anyone see a problem with my websockets implementation? |