Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Options for game repartitions #116

Closed
antoinezanardi opened this issue Feb 2, 2021 · 0 comments
Closed

Options for game repartitions #116

antoinezanardi opened this issue Feb 2, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@antoinezanardi
Copy link
Owner

antoinezanardi commented Feb 2, 2021

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.
@antoinezanardi antoinezanardi added the enhancement New feature or request label Feb 2, 2021
@antoinezanardi antoinezanardi self-assigned this Feb 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant