I'm trying to make a card game where one of the moves a player can take is a swap option, wherein it takes the card in play (the element at index0 of an ArrayList) and swaps it with another. The index of that other card is found through a private method calling a method from a different class that computes for the health*power of that card (and labeled as determiningPower). The card found with the highest determiningPower is swapped with the card at index0.I'm trying to make a card game where one of the