created playCard() function