You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Two more cards must be added to the game composition if this role is played. Those cards must be stored in an array additionalCards and each value has this structure:
{
_id: ObjectId, // Unique id
role: String, // Role name
for: String, // For which role this card is for, here value is "thief"
isUsed: Boolean, // If the card was used before, can't be used anymore
}
Roles must be available compared to the game composition. If the two cards are from the werewolves side, the thief must take one of the two cards. Otherwise, he can take one or skip. His role.current and side.current change for the chosen card role and side.
Thief is the first to play, right before Cupid. He can't play if he is powerless.
In play structure, the chosen card is stored in chosenCardId.
The text was updated successfully, but these errors were encountered:
additionalCards
and each value has this structure:werewolves
side, the thief must take one of the two cards. Otherwise, he can take one or skip. Hisrole.current
andside.current
change for the chosen card role and side.powerless
.play
structure, the chosen card is stored inchosenCardId
.The text was updated successfully, but these errors were encountered: