Open Marangal opened 4 years ago
Nice catch, I have noticed some cards are being duplicated. I will look at this soon.
The code is pretty clear... so maybe something weird is going on in the background. Object card = otherPlayer.getInPlay().remove(chosenCard); hand.add(card); userInterface.printInfo(currentPlayer.getName() + " takes a " + ((Card)card).getName() + " from " + otherPlayer.getName() + " with a Panic!");
Maybe a message is sent twice or interrupted.
Could not reproduce.
One guy takes a barrel from his neighbour with a panico and plays it in front of him. the barrel from the victim did not dissapear. Both had a barrel now