Next: The card counter, Previous: XML representation of games, Up: Programming with libtarot [Contents][Index]
The current step of a game.
Card that has been played, with posterior information.
Query the properties of game that are always set: its current step, the number of players, whether there is a call.
Query a property of game that may or may not be relevant at evry moment of the game. Return ‘TAROT_GAME_OK’ on success, or ‘TAROT_GAME_NA’ if it is not relevant.
‘tarot_game_get_main_player’ queries the main player that have been dealt cards; in case of a deal for all players it is not set.
Some properties are still set to a meaningful value, even if the return value is ‘TAROT_GAME_NA’, such as the taker for ‘tarot_game_get_taker’ and ‘tarot_game_get_trick_taker’.
Query what can happen next in game. The next player to play is also set.
Next: The card counter, Previous: XML representation of games, Up: Programming with libtarot [Contents][Index]