The game state type returned by the API.
The tuple of argument types accepted by the API exec function.
The game configuration type.
The hint type.
Clears all selected cards.
Current game configuration.
Error message from the last failed API call, or null.
Raw exec function to dispatch arbitrary API commands.
Updates a numeric config field from a string value.
Fetches a hint from the server.
Advances to the next round.
Advances to the next trick.
Plays the single currently-selected card. No-op if zero or multiple cards are selected.
Toggles a boolean config field.
The latest hint returned by the hint command, or null.
Error message from the last failed hint request, or null.
True while a hint request is in flight.
True while an API call is in flight.
Retries the last failed API call.
Indices of currently selected cards.
Current game state, or null before the first successful API call.
Toggles selection of the card at the given index.
Return value of useTrickGameBase.