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

Implement support for request-response style service protocols in comm.js #14

Open
marc-portier opened this issue Feb 23, 2014 · 2 comments
Milestone

Comments

@marc-portier
Copy link
Collaborator

A number of games have non-symmetric message-protocol needs. It should be easy to subscribe such protocols and setup a connection between 2 parties playing either the request-sender or response-provider role.

@karel1980 karel1980 added this to the 1.0 milestone Feb 23, 2014
@karel1980
Copy link
Owner

I would do this in 1.1. For 1.0 we could get away with only implementing 'peer' and adding calls for both sides of the protocol. The people doing the scratch implementation should then agree on who uses what

@marc-portier
Copy link
Collaborator Author

Totally agree - peer messages with multiple arguments should get them far enough.
The request-response it not that much different IMHO - it just adds some automatic relation between question and answer + provides possibility to create related better labeled blocks to clearly play one side of the protocol.

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