playable cards logic implemented