hmasdev / autogen-werewolf

A CUI-based simple werewolf game with `autogen`
MIT License
3 stars 1 forks source link

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

Open hmasdev opened 2 months ago

hmasdev commented 2 months ago

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
hmasdev commented 2 months ago

If you want to develop one role among them, please notify the role in this issue comment📧