The handler parameters type
The game parameters type
The object of valid states
The game state controllers
The messages that a handler can respond with
The game state transitions
The event handler
The game setup object
A function returning the game's intermediary handler
A function returning the default bot game handler
Returns the controller providers specific to the game, to be merged with the default controllers
Creates a new handler chain containing only the bot handler for the game events
Creates a new driver using elements from this game factory
the players in the game
the params to run this game under
the initial names of the players
Optionalstate: ControllerState<Controllers>the state to wrap
Creates a new handler chain containing the intermediary handler and the system intermediary handler
Wraps the classes in a game library into one common interface to make usages less verbose and to hide internal implementation details