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

Send Game State transmission to all subscribed players on end_turn #108

Open
BrennanAyers opened this issue Sep 23, 2019 · 0 comments
Open
Assignees

Comments

@BrennanAyers
Copy link
Owner

Once we have subscriptions to all Players of a Game set up, and the Game is running (#107), we now can update the Game State for all Players on the end_turn action.

  • Player 1 ends their turn, Players 2-4 will receive an ActionCable payload updating their local React app
  • Player 2 will now be able to perform actions, as the current_player will be them
  • Player 2 ends their turn, Players 1, 3-4 will receive an ActionCable payload updating their local React app
  • loop until end of Game
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

2 participants