I've decided to write a texas hold'em game that can be played solitare style, just for kicks.
Anyway, I'm hung up on the best way to represent the cards. I have a class Card that contains a pair of ints, one for the suit and the other for rank. Then a deck would just be an array of Cards, etc. Now, I want to spit the value of these cards onto the console. What's the best way to do this? Just using switch statements? Is there some way to have a global hash table that Card can access? Something else?
(sorry if this is better off in the game forum, I couldn't decide where to stick this)