Game
interface Game
A Game represents the state of a card game, including the players, cards, and the current state of the game. It provides methods to process events, apply actions, and compute values based on the current game state.
Properties
Link copied to clipboard
Link copied to clipboard
The ActionProcessor used to process actions.
Link copied to clipboard
The EffectProcessor used to process effects.
Link copied to clipboard
The ValueResolver used to compute values.
Functions
Link copied to clipboard
Computes the value of a given Value for a specific CardInstance.
Link copied to clipboard
Returns a List of all CardInstances in the game.
Link copied to clipboard
Returns the current Player whose turn it is in the game.
Link copied to clipboard
Checks if the game is over.