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

In the comparison table, why peer.js for non-authoritative game server? #39

Closed
bennlich opened this issue Jul 23, 2020 · 5 comments
Closed
Labels

Comments

@bennlich
Copy link
Contributor

bennlich commented Jul 23, 2020

Just curious, in this table, why do you recommend peer.js over geckos for a non-authoritative game server?

@yandeu
Copy link
Member

yandeu commented Jul 24, 2020

I can't remember 😄 (This table is old)

You can of course use geckos.io in any of those cases.

I guess you should only use socket.io over geckos.io if you do not know how to deploy your own server and to forward the necessary ports. For instance if you want to use Heroku, then your only option is socket.io since the Node.js WebRTC implementation can't work on services like Heroku.

I think I should update the table.

@bennlich
Copy link
Contributor Author

Ah, k. Gotcha :) I'll let you close this or use as a reminder to update the table.

I think I'm going to try using geckos shortly! I'm excited.

@jdspugh
Copy link

jdspugh commented Mar 5, 2021

A central server can act as a "judge" (authority) to give the final word on scores, game states, etc. Peer-to-peer (peerjs) games don't rely on a central authority (non-authoritative) and need to vote between themselves to decide on mutual outcomes.

@github-actions
Copy link

This issue is stale because it has been open 300 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@github-actions github-actions bot added the Stale label Dec 31, 2021
@github-actions
Copy link

This issue was closed because it has been stalled for 10 days with no activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants