Encapsulates the decision-making logic for the AI to play a card. Example usage: const selectedIndex = AI(Strategy.filter)(G, ctx);
The index of the card to play from the AI's hand.
Generated using TypeDoc
Encapsulates the decision-making logic for the AI to play a card. Example usage: const selectedIndex = AI(Strategy.filter)(G, ctx);
Returns
The index of the card to play from the AI's hand.