This page contains all of the specific requirements for the web socket server
$connect
$disconnect
$default
event.requestContext.connectionId
.
check
function, where we pass through the player and game ID and see if it exsits in the current connections table.
We also need to keep some stuff persistent, especially like what current stage of the game we are on and if we are in the game loop, what current round we are on.