Skip to content

Conversation

@tannerkrewson
Copy link
Owner

I tried my hand at writing a getJoinGameUrl for liesgame.com. I was able to get your server to generate a room code with an api call and a few websocket messages, but the game code doesn't seem to work when i send https://liesgame.com/game/eywb to the iframes 😄

@Oisin-M
Copy link
Contributor

Oisin-M commented Sep 22, 2020

I had a look at this too and from the look of things to join you have to send a post request with a payload
data: {op: "joinRoom", roomCode: "eywb"}
to https://us-central1-believable-lies.cloudfunctions.net/prodGame

Perhaps the option to specify a join method instead of just a join url for each game might be worth doing?

@tannerkrewson tannerkrewson changed the base branch from master to dev October 4, 2020 01:10
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

Successfully merging this pull request may close these issues.

3 participants