Create a Custom Client
Creating a custom Party Social game client requires knowledge of Socket.io.
Setup
First, create a HTML file and import Socket.io
Design your page
Make sure your client can support as many game types as possible!
Add Sign In With Party Social to Your Client
Sign In with Party SocialGet Game Info from the URL
Now that the user is authorized, they can join games with your client. To have people use your client, give them your play page, which they can choose to use in the "Custom Client" advanced play setting. If a user chooses to use your client, they will be redirecteded to the page they input. On your play page, you can get the game info from the URL.
For the docs, we will use the URL below. However, your URL can be anything you like. Use {GAME}
as a placeholder for the game's ID. You can also use {TYPE}
as a placeholder for the game mode (WYR, NHIE, etc.).
Play the Game
Here is a basic example for a web-based Would You Rather game.
Share Your URL
Share your URL and let others use your client by inputting the URL in the "Custom Game Client" in the Advanced Play Settings.
Adding Support for Guest Players
To allow users to play as guests with a custom name, leave authorization empty and set the name
header to the guest's name. Omitting this will result in the guest being named Guest
Last updated