-
Notifications
You must be signed in to change notification settings - Fork 55
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
Create a new game room #83
Comments
What you would do is have the server listen for a message from the client/user, and then run Client sends message to the server asking for a new room: cloak/examples/grow21/client/js/Lobby.js Lines 18 to 27 in 1933374
Server listens for the message and makes a room when received: https://github.com/incompl/cloak/blob/master/examples/grow21/server/server.js#L88-L94 |
Gotcha, dunno how I missed it from the docs... :) |
Am I completely missing something from the documentation/API or is there a way for a user to manually create a new game room?... The only way I see to go from the lobby to a game room is to have auto create rooms set to true, and wait for number of players... which isn't really what I want, cuz I want users to create rooms themselves to play with friends.
The text was updated successfully, but these errors were encountered: