Internal actions managed automatically by createGameReducer. These are dispatched by the framework -- consumers do not need to handle them.
createGameReducer
__HYDRATE__
__PLAYER_JOINED__
state.players
__PLAYER_LEFT__
connected: false
__PLAYER_RECONNECTED__
connected: true
__PLAYER_REMOVED__
Internal actions managed automatically by
createGameReducer. These are dispatched by the framework -- consumers do not need to handle them.__HYDRATE__-- Replaces state wholesale (server-to-client sync).__PLAYER_JOINED__-- Adds a player tostate.players.__PLAYER_LEFT__-- Marks a player as disconnected (connected: false).__PLAYER_RECONNECTED__-- Restores a returning player (connected: true), preserving existing data.__PLAYER_REMOVED__-- Permanently removes a timed-out disconnected player fromstate.players.