Topic was automatically imported from the old Question2Answer platform.
Asked By
Gator Von
Now im having a project about a card based game, and i got one thing that still confuses me.
How to make a proper card deck where you can choose your cards you want to use to the match and can be used (i.e you had choose card A therefore card A will be visible and be useable in the match)
Please answer this, im sorry if my question is not understandable
var myCollection = [card1, card2]
var inGameDeck = [card1, card2]
var gameHand = [card1]
gameHand.append(inGameDeck[1]) #this would add "card2" to your game hand
I dont know if i could help, either i am an expert.
But this is how i would do it