Skip to content

[feat] add new 3 roles to the game: Spiritualist, Twins, Madman #13

Open
@hmasdev

Description

@hmasdev

Add the following roles: spiritualist, twins and madman

New Roles

Role Spiritualist Twins Madman
In Japanse 霊媒師 双子 狂人
Side Villager Villager Werewolf
Victory Condition 'All werewolves are excluded from the game' 'All werewolves are excluded from the game' 'Werewolves equal or outnumber half of the total number of players'
Night Action 'Check the side of the voted player in the last votes'
Who want to develop Nobody Nobody Nobody

Develop Steps

  1. See https://github.com/hmasdev/autogen-werewolf/blob/main/README.md#development
  2. Select a new role which you can implement: spiritualist, twins and madman
  3. develop
    a. [ ] Create a {}.py which define the class with the role under https://github.com/hmasdev/autogen-werewolf/tree/main/werewolf/game_player/
    b. [ ] Test the implemented code in a.
    c. [ ] Add you role key to ERole: https://github.com/hmasdev/autogen-werewolf/blob/main/werewolf/const.py#L21
    d. [ ] add a CLI arguments to control the number of new roles: https://github.com/hmasdev/autogen-werewolf/blob/main/werewolf/main.py
  4. pytest/flake8/mypy
  5. commit/push
  6. pull request

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions