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
Route GET /games/repartition needs more options like:
forbidden-roles: Array of roles that won't be returned by the route. Useful if game master doesn't want some roles in his games. Default value is []. All roles can be forbidden except villager and werewolf.
are-powerful-villager-roles-prioritized: Boolean which default value is true. Set to true, villagers with powers will be given to players before simple villagers. Set to false, roles with and without power will be distributed to players equally.
are-powerful-werewolf-roles-prioritized: Boolean which default value is true. Set to true, werewolves with powers will be given to players before simple werewolves. Set to false, roles with and without power will be distributed to players equally.
are-recommended-min-players-respected: Boolean which default value is true. Set to true, game repartition will make sure that roles distributed respect the recommend min players in the game. Set to false, roles will be distributed without taking into account the recommended min players for each role if present.
The text was updated successfully, but these errors were encountered:
Route
GET /games/repartition
needs more options like:forbidden-roles
: Array ofroles
that won't be returned by the route. Useful if game master doesn't want some roles in his games. Default value is[]
. All roles can be forbidden exceptvillager
andwerewolf
.are-powerful-villager-roles-prioritized
: Boolean which default value istrue
. Set totrue
,villagers
with powers will be given to players before simple villagers. Set tofalse
, roles with and without power will be distributed to players equally.are-powerful-werewolf-roles-prioritized
: Boolean which default value istrue
. Set totrue
,werewolves
with powers will be given to players before simple werewolves. Set tofalse
, roles with and without power will be distributed to players equally.are-recommended-min-players-respected
: Boolean which default value istrue
. Set totrue
, game repartition will make sure that roles distributed respect the recommend min players in the game. Set tofalse
, roles will be distributed without taking into account the recommended min players for each role if present.The text was updated successfully, but these errors were encountered: