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

TCP messages #8

Closed
7 tasks done
viethung7899 opened this issue Jul 30, 2022 · 0 comments · Fixed by #21 or #18
Closed
7 tasks done

TCP messages #8

viethung7899 opened this issue Jul 30, 2022 · 0 comments · Fixed by #21 or #18

Comments

@viethung7899
Copy link
Collaborator

viethung7899 commented Jul 30, 2022

Messages are sent by clients

  • HOLD row col: player starts pressing on a box
  • CLAIM row col: player claims a box
  • RELEASE row col: player releases the mouse

Messages are only broadcasted by the server when the game is ongoing

  • HOLD row col player: player holds a box
  • CLAIM row col player: player claims a box
  • RELEASE row col: remove the holder of the box
  • WIN player: announce the winner and end the game
@viethung7899 viethung7899 changed the title TCP/UDP messages TCP messages Aug 1, 2022
@viethung7899 viethung7899 linked a pull request Aug 3, 2022 that will close this issue
@viethung7899 viethung7899 reopened this Aug 9, 2022
@viethung7899 viethung7899 linked a pull request Aug 12, 2022 that will close this issue
@ptdo ptdo closed this as completed in #18 Aug 14, 2022
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

Successfully merging a pull request may close this issue.

1 participant