ProodjePindakaas / Quantum-Werewolf

The python script for running a game of Quantum Werewolf
MIT License
2 stars 0 forks source link

Can/need to lynch a dead player. #15

Closed UL-LIC-Robert closed 1 year ago

UL-LIC-Robert commented 1 year ago

Day time has come and only 1 player, not a werewolf, is supposed to be left alive yet the lynch moment still comes up:

Decided to try and lynch a 100% dead person instead of oneself: see that another 100% dead player can still be lynched.

The day begins
  d was killed during the night
    d was a villager
      player    werewolf        seer       cupid    villager        dead
           c        100%          0%          0%          0%        100%
           b          0%        100%          0%          0%        100%
           a        100%          0%          0%          0%        100%
           d          0%          0%          0%        100%        100%
           4          0%          0%        100%          0%         50%

  [ALL VILLAGERS] Who do you lynch?
    Name: a
  "a" is not a valid choice
  Valid players are:
    c
    e

  [ALL VILLAGERS] Who do you lynch?
    Name: 

Side note: Proceeded to try and lynch oneself: everybody should now be dead yet werewolves still win?

Seems like maybe the program did not register that player 'c' werewolf was already dead.

...
  [ALL VILLAGERS] Who do you lynch?
    Name: e
  e was cupid
(press ENTER to continue)

The werewolves win!