made it with lists. i used them just like python dictionaries (or arrays), in which i wrote all the info like card's id, name, description and so on. then i took another list and used it as a hand in which i stored ids of cards in my hand
I did something similar with lists and shuffling but i got stuck on showing the cards visually as the hand list updates I liked how it looked in your game
i used many objects: one for the card itself, one for it's image, and a counter for it's price. then i gave images and counters a variable called card_fixed and then once i created a card i immediately gave it's fixed to those objects, so that i could make them be in the same position as the card
oh i didn't mean for u to make one from scratch only if u were willing to share the engine for the card combat cus ive been looking for something similar but no biggie