Skip to content

Commit f63aa88

Browse files
whois-jon-petersonrdren0
authored andcommitted
Add documentation for nextGame invite code in game-over message
1 parent 99b4bb2 commit f63aa88

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,8 @@ This message is broadcast to all players after a valid [Guess Sent](#guess-sent)
485485
flipped: true,
486486
type: "red"
487487
},
488-
winningTeam: "red"
488+
winningTeam: "red",
489+
nextGame: "<invite code>"
489490
}
490491
}
491492
```
@@ -499,6 +500,7 @@ This message is broadcast to all players after a valid [Guess Sent](#guess-sent)
499500
|`-->card.flipped` |Boolean: The flipped state of the card (always `true`).|
500501
|`-->card.type` |String: The type of card to render in the UI: "red", "blue", "bystander", or "assassin".|
501502
|`data.winningTeam`|String: The team that won the game.|
503+
|`data.nextGame` |String: An invite code for a new game. Provided automatically so all players can easily join the next game.|
502504

503505
---
504506

0 commit comments

Comments
 (0)