I am writing many of poker programs. And I need good incapsulation and useability of my clases.
One of the key classes is poker_machine. Mathematical image of the game.
Imaginary table with the players, which changes its state from external orders (moves). While clearly following the rules of poker. (including incompleet rise, side pots, ets). Just one deal.
I try to find something like this - but none. Just many programs with primitive incapsulation like (class player) and many many wrong code. (no incompleet rise, no side pots, even hand compare false). Usabiliti in future programs on poker theme = 0;
May be "poker machine" "poker c++" is wrong questions to Google?
I do not believe that such a desired class came to a head just me.