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

Write a simple webpage with clickable area sending click location into "game" webservice #1

Open
evrardjp opened this issue Sep 2, 2020 · 1 comment

Comments

@evrardjp
Copy link
Owner

evrardjp commented Sep 2, 2020

The idea here is to have a frontend webpage holding a canvas.
On click of something on the canevas, display a square of a pre-determined color on the local canvas, and send the position of the mouse (relative to a fixed position of the canvas, like (0,0) to a webservice.

The call must send the following data to the "game owner" apiserver

  • position
  • color
  • current game id in progress
@evrardjp evrardjp changed the title Write a simple webpage with clickable area sending click location into webservice Write a simple webpage with clickable area sending click location into "game" webservice Sep 2, 2020
@evrardjp
Copy link
Owner Author

evrardjp commented Sep 2, 2020

This needs #3 .

@evrardjp evrardjp closed this as completed Sep 4, 2020
@evrardjp evrardjp reopened this Sep 4, 2020
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