Card game?

No, a struct (each card) stored in an array (the deck). What’s important is how you store and communicate the data.

You could have an actor as dealer that holds the deck, can shuffle and give cards to player/s. Each player just handles the X amount of cards they are given in their own arrays.

Imo You shuffle and draw top card in order through the array. Just like irl basically.