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

Host side validation for player submitted cards #210

Open
I3uckwheat opened this issue Apr 10, 2021 · 0 comments
Open

Host side validation for player submitted cards #210

I3uckwheat opened this issue Apr 10, 2021 · 0 comments
Labels
frontend lives within the /frontend directory Issue Draft For issues that are incomplete minor This is not a high impact issue

Comments

@I3uckwheat
Copy link
Owner

related to: #206

There is currently no validation that the player submitted all of their cards, this is trusting the client. We should verify the player has submitted the correct amount of cards on the host side of the application. This also means that we should reset the player's state to ensure they have the exact data they need to send the proper amount of cards.

  • Reset the cards in the player's hand + number of cards needed for selection based on the host context.
@I3uckwheat I3uckwheat added frontend lives within the /frontend directory minor This is not a high impact issue Issue Draft For issues that are incomplete labels Apr 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend lives within the /frontend directory Issue Draft For issues that are incomplete minor This is not a high impact issue
Projects
None yet
Development

No branches or pull requests

1 participant