Type alias for a game reducer function.
Accepts the current state and an action, and returns the new state. Used by both GameHostProvider and useGameClient to define game logic.
GameHostProvider
useGameClient
Type alias for a game reducer function.
Accepts the current state and an action, and returns the new state. Used by both
GameHostProvideranduseGameClientto define game logic.