You are here


8 September, 2015 - 10:43

In this chapter I present classes to represent playing cards, decks of cards, and poker hands. If you don’t play poker, you can read about it at, but you don’t have to; I’ll tell you what you need to know for the exercises. Code examples from this chapter are available from

If you are not familiar with Anglo-American playing cards, you can read about them at