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

Consensus checks #88

Closed hwoodward closed 4 years ago

hwoodward commented 4 years ago

Added consensus logic to start a new round when everyone was ready. Used this for the first round to remove the server side start. Removed the turn order broadcasts and send a full public info instead so you can see turn order transition in the UI. Adjusted how score broadcast and score sending works so you can review a round and you don't get spammed with scores (which are still in the commandline).

Did introduce new edge case - if a player disconnects during the scoring process you won't get a score broadcast. I could put the scores on the server so they can be semi recovered, but you can manually calculate them if you really care and player disconnection is already a bug.