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

Player hand changes to opponent's hand when they make a move #17

Open
nathan815 opened this issue Feb 6, 2020 · 2 comments
Open

Player hand changes to opponent's hand when they make a move #17

nathan815 opened this issue Feb 6, 2020 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@nathan815
Copy link
Owner

nathan815 commented Feb 6, 2020

When a player makes a move, a GameDto (with the hand of the person who just made the move) is broadcasted to the websocket topic for the game. This causes both players to see the hand of the player who just made the move on their screen.

To fix this: need to remove hand from GameDto. Send player hand in a separate websocket message in the player's private game topic.

@nathan815 nathan815 added the bug Something isn't working label Feb 6, 2020
@nathan815 nathan815 self-assigned this Feb 6, 2020
@nelson54
Copy link
Collaborator

nelson54 commented Aug 2, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants
@nelson54 @nathan815 and others