iOS-tut Assn4: abstract much of PlayingCardView into CardView