The two situations we touched on were:
a) a simplified "poker engine", with almost no interface, just the basic mechanics of dealing, etc. The idea being that we let something else deal with presenting the data.
b) A unified, razzle-dazzle GUI program with dancing cards, and players that blow smoke in your face :-)
So here's an approximate summary of needed objects in each case:
Fancy GUI | Simple engine |
---|---|
Player | Player |
Deck | Deck |
Hand | Hand(maybe) |
Card | |
Table |
[ If you'd like another chapter added, email the author, below, with a suggested topic]