4anime
✅ School project
I am trying to make a 1v1 card battle game, where from an array containing 18 cards, each player will be given 8 cards. From the 8 cards player 1 gets, player 1 has to choose a card and then he will have to either attack, defend or rest. When player 1 attacks, I want it so that from the card that player 2 has selected, 40 points are removed from its durability while 20 points from energy is removed from player 1's selected card.
23 replies