Re:Building multiplayer games with Socket.io and HTML5 Canvas
by Entangled on Saturday September 23, 2017 @09:22AM
(#15319605)
Thanks for the info. Good thing about turn-based games is that you send small packets to few players every few seconds, so they're not that intensive in memory/transfer. I hope having a thousand players in a room won't break my piggy bank. Later on I'll venture with chess, checkers and backgammon, all turn-based games.
[ Parent
| on HN ]
Re:Building multiplayer games with Socket.io and HTML5 Canvas
by synthmeat on Saturday September 23, 2017 @09:41AM
(#15319678)
In this oldie of mine [1][2][3], I used protobuf (with no dictionary), and basically only used real-time information to show other player make moves, in otherwise turn-based/async profile game. It's currently solely on single $20 DO droplet, so I hope no HN effect kicks-in. :)
[1] https://bit.ly/ShowdownFacebook (FB+Flash)
[2] https://bit.ly/ShowdownApple (iOS)
[3] https://bit.ly/ShowdownGoogle (Android)