Thank you! It takes A LOT of variables, but it's all coded with events 🤓 I have a cardTemplate sprite that is used as a structure for each type of card, and at the beginning of the duel I create instances of card sprites based on that template, for both the player and the opponent. The rest is keeping track of where a card is (in deck, or hand, or field, or discard). The AI is a decision system that checks all the cards in the opponent hand and check if there is a card that can destroy a player's card for instance, and plays using simple rules of priority.