completed playHand function