Home - lcrocker/ojpoker GitHub Wiki
This is the ojpoker wiki.
It is intended to provide documentation and discussion about the OneJoker Project codebase. Please feel free to edit these pages to add questions or commentary (and of course to correct anything I may have gotten wrong).
The formal tool-generated API documentation for the libraries can be found here.
Common types / classes
- Rank is the value of a playing card independent of suit, e.g. four, queen.
- Suit is the pip symbol independent of rank, e.g. club, heart.
- Ordinal is a small integer type identifying the whole card, e.g. 42 = ten of diamonds.
- Card is the playing card represented by an ordinal, e.g. joker, nine of spades.
- MasterDeck is the complete set of cards used for a particular game, e.g. English, Pinochle.
- Deck standardizes the functionality of deck-like objects.
- Hand standardizes the functionality of hand-like objects.
- CardHash is any of several hash functions on sets of cards for use in various games.
- HandValue is a collection of info about the relative value of a hand in a game.