ajanata / PretendYoureXyzzy

A web clone of the card game Cards Against Humanity.
https://pretendyoure.xyz/zy
BSD 2-Clause "Simplified" License
1.22k stars 397 forks source link

Query parameter options #160

Open FusionLord opened 7 years ago

FusionLord commented 7 years ago

I was curious if there were additional query options I could use in my links, such as:

Examples: Host: game.jsp#username=FusionLord&create&password=1234&cardcast=12345,54321,64457 Player: game.jsp#game=123&username=User1&password=1234

I play a lot with a community and being able to setup a game with just a click of a link would be great! And having a quick way for players to join straight into the game, bypassing the password, and username screens would be great, I know there would be some setup required as far as dynamic username implementation from my website but that would be easy for me.

These are just what I can think of at the moment. it would be great if they could be added if they don't exist.

ajanata commented 6 years ago

That's not too unreasonable of a request. Currently, there is only the game number, but some of those don't seem particularly difficult to add. I can't make a guarantee as to when I'll get to it, but I like the idea.