@hanabi-live/game
Preparing search index...
gameReducer
Function gameReducer
gameReducer
(
gameState
:
GameState
,
action
:
GameAction
,
perspective
:
Perspective
,
metadata
:
GameMetadata
,
)
:
GameState
Computes the next game state from a given action.
Parameters
gameState
:
GameState
action
:
GameAction
perspective
:
Perspective
metadata
:
GameMetadata
Returns
GameState
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@hanabi-live/game
Loading...
Computes the next game state from a given action.