Skip to content

jenks2709/Tagger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HvZ

Tagger

Repository containing the code for the Tagger bot used by Humans Vs Zombies Society at Royal Holloway, University of London

What is HvZ?

Humans vs Zombies is a 24/7 survival tag game that is played across days or weeks.

Zombies hunt humans and can convert them by tagging them with a "full palm touch", Humans are able to temporarily stun them by throwing socks or firing nerf darts at them.

Our games are closed to non-students but we do host annual "Invitational" games that are open to the public, if you are interested in learning more, please join our discord server

Running the bot

Create a file called token.txt containing your bots token

Run bot.py

The bot should show as "online" in discord

Architecture:

The as stated above bot.py is the base script, but most of the codebase is stored other in python scripts held in ./cogs/. These contain the code for specific commands and are split into several scripts based on the commands purpose and which discord users have access to them.

For example human_commands.py contains gameplay commands specific to the human team and requires the user to have the human role or an administrative role such as moderator.

An SQLite3 database is used to store game data and other relevant information, such as player's discord IDs.

Assets such as images or braincode wordlists are stored in the ./files directory.

Dependencies:

Map of Campus

About

Repository containing the code for the Tagger bot

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages