Skip to content

leny-mi/Lupinotuum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lupinotuum

A Bot to play Werewolf on Discord in real-time.

Usage

To host this bot yourself clone this repository. You'll have to create a config.json in Lupinotuum/ and enter your bot token and a covert_server. Then just run lupinotuum.py.

The covert_server should be a server where private communication is managed using text_channels. Here the bot need permissions to create and modify channels.

The invite link should be the last part of a generated invite link to your covert server. In the given case the link https://discord.gg/PzYPTdr has been generated which leads to PzYPTdr as the last part.

Your config.json might look like this

{
  "token": "Dwa9aFW9saf68gwaf-faw80saf789fwa.fawXAawdfajigeoAIWZUk",
  "covert_server": 4201333712345678910
  "invite_link" : "PzYPTdr"
}

Task List

  • Interface
    • Game Setup
    • Ingame interaction
  • Game logic
    • Main game
    • Usability
      • Group management
      • Time management
  • Database
    • Game state
      • Save game state
      • Recall game state
    • Game setup

Roles

Town aligned roles

Role Ability Special win condition
Villager - -
Seer View a players alignment each night -
Guardian Angel Each night, choose a player to be protected during the night against the werewolves. Can choose himself, but not the same player twice in a row -
Alchemist Has two potions, healing and poison, which can be used once each. Each night after being shown the victim, choose which potion to apply (or not to apply) on any player -
Hunter If eliminated from the game, immediately eliminate any player of their choice -
Cupid Chooses two players at the start to have altered win conditions Also wins with the couple
Mayor Vote is worth twice as much -
Apprentice Seer Becomes a Seer when the Seer dies -
Knight Survives the first attack on him -
Vigilante May kill two players per game -
Bomb Kills their killer -
Resurrectionist May resurrect one player per game -
Mailman May write a Message each night to be shown to the Town -
Oracle May reveal a players role to another player but not themselves -
Priest Can throw Holy Water at another player. If target is a werewolf the target dies; otherwise the priest dies -
Brothers Knows the other Brothers -
Mason Knows the other Masons -
Villager-Villager Their role as a villager is visible to all players -
Fox Once: Choose any three players. If there is at least one werewolf amongst them, keep this ability -
Teacher May not vote. Each day, right before the votes: Forbid up to 2(?) players from voting that turn, but which can still debate. -
Lord Once: After any vote, the Lord can, upon request by the victim, pardon the victim. No player is eliminated. Can pardon himself -

Evil Roles

Role Ability Special win condition
Mafiosi Vote to kill a player at night -
Werewolf Each night, devour a villager. Can not devour another werewolf -
Alpha Werewolf Acts as a normal werewolf. Wakes up a second time and devours a second victim as long as no other werewolf has been eliminated -
White Werewolf Acts as a normal werewolf Wins if he is the last werewolf remaining
Teenage Werewolf Must say 'werewolf' once each day -
Vampire May bite a player every even night Only Vampires left
Serial Killer May kill a player every night Has to be last survivor
Cultist Is not part of werewolf chat -
Ancient Werewolf Acts as a normal werewolf. Once: Infect the victim. The infected inhabitant becomes a Werewolf but also keeps his other identity and isn't devoured. -
Witch Each night: May choose a player. This players ability is inhibited during the night -

Neutral Roles

Role Ability Special win condition
Survivor - Wins if he alive at the end
Executioner - At the start of the game: Choose a target. Wins if target is eliminated by the end of the game
Protector - At the start of the game: Choose a target. Wins if target is alive by the end of the game
Jester - Wins if he is eliminated by the villager's vote
Universal At the beginning of the game: Choose a role on the first night. The role is kept until the end of the game -
Copycat Gets the role of the first player to die -
Actor Each night: May choose any of three provided roles and use the corresponding power until the next night. After a role has been chosen, it gets removed from the pool. Roles may not be Werewolf roles -

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages