An implementation of playing cards