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

Add a command sender. #67

Closed
notaphplover opened this issue Apr 1, 2020 · 0 comments · Fixed by #93
Closed

Add a command sender. #67

notaphplover opened this issue Apr 1, 2020 · 0 comments · Fixed by #93
Labels
enhancement New feature or request
Milestone

Comments

@notaphplover
Copy link
Owner

notaphplover commented Apr 1, 2020

Important: This feature requires #66, #68 to be closed before starting any development process related to this issue.

The game needs a tool to send commands to the players.

  • A command sender interface must be added in order to send commands.
  • Game engine must be able to contain a command sender.
  • Game engine handlers must be updated in order to send commands:
    • An end turn request handler must send a command to start playing the next turn. If the game is ended, it must send a command to stop players.
    • A start turn request must send a command to play the turn with the game state.
    • Any other request must send a continue playing turn command (as a kind of ACK).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant