Below are a list of phases and corresponding actions that will be sent from the client to the backend. All actions will always also include the game code and player's display name.
Each player selects which card they want to send to who.
{
"cardId": 1,
"recipient": "DisplayName"
}Players receive their new cards.
Players select if they want to hook-up, and with who, or if they want to ruin someone else's hook-up.
Option 1: Hook-Up
{
"partners" : [
"Jason",
"Arjun"
],
"ruinPlayer" : null
}Option 2: Ruin
{
"partners" : null,
"ruinPlayer" : "Jason"
}Reveal who succeeded last night and who went home disappointed.
The game has ended. Allow the first player to restart the game.
{
"restart": true
}