Expanded design for where different parts of state live in the client (needs documentation) so that we can render and have server communication that makes sense. Made card class and started having client and server pass draws and discards back and forth. Got reasonable cycle for client running with player input, controller verification, then pumping the listeners then re-rendering. Since rendering is a command line print right now its a little spammy on the command line.
Card class was has issue where it doesn't realizes two different instantiations of the same number/suit combo are equal. Isn't causing bugs yet b/c we move cards around without extra create/destroys on the client side, but should probably be fixed anyway.
Expanded design for where different parts of state live in the client (needs documentation) so that we can render and have server communication that makes sense. Made card class and started having client and server pass draws and discards back and forth. Got reasonable cycle for client running with player input, controller verification, then pumping the listeners then re-rendering. Since rendering is a command line print right now its a little spammy on the command line.
Card class was has issue where it doesn't realizes two different instantiations of the same number/suit combo are equal. Isn't causing bugs yet b/c we move cards around without extra create/destroys on the client side, but should probably be fixed anyway.
Issues: Closes #6 Closes #5 Closes #8 Closes #7