Party
A Party is a space on Castle for a small group to chat and play decks together.
Integrating decks with parties
Some decks may be well-suited to playing in a small group; for example, multiplayer games, or single player games with leaderboards.
- You can check whether the deck is being played from a party using the
If this deck is being played in a screen
rule condition, or with thecastle.isInScreen()
function. - You can send a message to the current party using the Send a message to the party rule response. For example, you could let the party know when someone has taken a turn.
Parties and multiplayer
When someone plays a multiplayer deck from a Party, they join a session which is private to only the people in that party.
You can get a list of all the players in the current party with the castle.getUsersInParty()
function.