Closed hwoodward closed 4 years ago
Documented deal. However we need a case for the fact we don't have a good way to store 'feet' or 'hands for later' I have a proposed design below, but this should probably be its own issue.
Current idea: list of hands stored as a hand_stack. If your hand is empty and your 'hand_stack' isn't then make top hand in the hand_stack your current hand and keep playing. It would be part of the 'gone out' check handling in the clientState.
On deal you first have a sort of "select hand ordering" bit, which is a late stage feature, and then the top of the stack is your hand to start and the rest go into the hand_stack. Thats rather extensible and should work.
The length of your hand_stack can go into hand_status and if we want to display a boolean instead of an int in the UI we could translate it as needed.