Game now works, it was passing the cards before setting the card as chosen. Fixed.