WebRTC Poker Game - Part 5: WebSockets

1 · Richard To · April 10, 2021, midnight
WebSockets are an integral aspect of the poker game. They provide the following functionality: The whole WebRTC signaling dance (SDP and ICE candidate exchanges) Provides responsive game state updates to and from the game server This post focuses on point 2. Part 6 in this series will cover the WebRTC integration. Overview Poker is a turn based game which makes WebSockets a good candidate for creating a realtime multiple player game that runs smoothly. For this poker game, a central server wil...