player's code to playing cards