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

Improve startup/name selection/turn order process #47

Closed hwoodward closed 4 years ago

hwoodward commented 4 years ago

What won't the app do that you think it should? Please describe. Our current process for selecting name and getting turn order setup needs refining. Right now the server does broadcasts the UI doesn't handle and there isn't a good way to show the order to players.

Describe the solution you'd like I want to swap to giving the UI public info broadcasts with empty cards and empty hand_status (or even hand_status with nothing in it) like we do during the round and have the UI render the order for easier viewing and more generic code.

Describe alternatives you've considered we could keep doing it the way we are.

Additional context We might put this off for a while, and handle it when we swap to a consensus model that allows users to agree to a turn order by consensus instead of by server admin fiat (right now we transition modes on input to the server which would be an admin step).

hwoodward commented 4 years ago

This improvement is blocked by the UI being able to render public Info smoothly. Until that works we can't stop the turn order broadcasts without loosing functionality (since right now the controller prints order to command line which is at least working).

hwoodward commented 4 years ago

We have public info working and have actually already swapped the turn order broadcast to a public info broadcast with a lot of empty information. That makes the turn order process much simpler - although you do still need to pick your name before you see your placement.