We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For single-player games it might be interesting to also provide an "auto-join" option.
Currently we need this:
socket.connect(); socket.emit("join", {"room_id": "compreg_room"});
Maybe something like this might be enough
socket.connect({"autojoin":"default_room"});
with server-side:
@socketio.on("connect") def client_connect(auth, data): if "autojoin" in data: socketio.emit("join", {"room_id": data["autojoin"]});
If sufficient in most cases, this might become the default behavior.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
For single-player games it might be interesting to also provide an "auto-join" option.
Currently we need this:
Maybe something like this might be enough
with server-side:
If sufficient in most cases, this might become the default behavior.
The text was updated successfully, but these errors were encountered: