Open
Description
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
- See https://github.com/hmasdev/autogen-werewolf/blob/main/README.md#development
- Select a new role which you can implement: spiritualist, twins and madman
- 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 - pytest/flake8/mypy
- commit/push
- pull request