Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random player card appears #28

Open
addonovan opened this issue Apr 30, 2018 · 1 comment
Open

Random player card appears #28

addonovan opened this issue Apr 30, 2018 · 1 comment
Assignees

Comments

@addonovan
Copy link
Owner

The dealer's second card (?) might display under the first player's text field instead of the dealer's position.

Steps to reproduce:

  1. Start the game
  2. Start the dealer program
  3. Let the game run on auto
  4. On the last turn, the dealer's second card may appear in the first player slot
@addonovan addonovan self-assigned this May 1, 2018
@addonovan
Copy link
Owner Author

This may not be a problem on our end, actually. Or, if it is one, is just due to the UID being too long (which does need to be fixed!). Below, you can see some logging possible since debugging changes were made in #42.

The game is receiving multiple sets of cards belonging to a player with the same UUID, which shouldn't be possible. Because of how m_player_index is saved, the first set is displayed as "ours" and the second is displayed as the first other player at the table.

screenshot from 2018-05-01 19-13-10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant