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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lies Game #39

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open

Lies Game #39

wants to merge 1 commit into from

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.

None yet

2 participants