We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Playing again POST /games/{name}/{id}/playAgain
{name} (required): the name of the game being played again. {id} (required): the ID of the previous finished room.
Given a previous room, generates a room ID where users should go if they want to play again. Creates this new room if it didn’t exist before.
Accepts these parameters:
playerID (required): the player ID of the player on the previous game. credentials (required): player’s credentials.
numPlayers (optional): the number of players. Defaults to the numPlayers value of the previous room.
setupData (optional): custom object that was passed to the game setup function. Defaults to the setupData object of the previous room.
Returns nextRoomID, which is the ID of the newly created room that the user should go to play again.
The text was updated successfully, but these errors were encountered:
Wait until v0.40 of boardgame.io is released with isGameOver property on getMatch
isGameOver
getMatch
Sorry, something went wrong.
boardgameio/boardgame.io#709
averycrespi
No branches or pull requests
Playing again
POST /games/{name}/{id}/playAgain
Given a previous room, generates a room ID where users should go if they want to play again. Creates this new room if it didn’t exist before.
Accepts these parameters:
numPlayers (optional): the number of players. Defaults to the numPlayers value of the previous room.
setupData (optional): custom object that was passed to the game setup function. Defaults to the setupData object of the previous room.
Returns nextRoomID, which is the ID of the newly created room that the user should go to play again.
The text was updated successfully, but these errors were encountered: