hwoodward / Remote-Card-Games

Program for playing card games online/remotely. Goal is to play a game of hand and foot with multiple groups in different locations.
MIT License
2 stars 1 forks source link

Major progress on turn actions #13

Closed hwoodward closed 5 years ago

hwoodward commented 5 years ago

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