Commit fea7fd18 authored by Adam Blank's avatar Adam Blank
Browse files

Delete scripts.py

parent 4333dbfb
No related merge requests found
Showing with 0 additions and 57 deletions
+0 -57
ROLES = [
"werewolves",
"minion",
"masons",
"seer",
"robber",
"troublemaker",
"drunk",
"insomniac"
]
SCRIPTS = [
"Werewolves, wake up and look for other Werewolves.",
"Minion, wake up. Werewolves, stick out your thumb so the Minion can see who you are.",
"Masons, wake up and look for other Masons.",
"Seer, wake up. You may look at another player’s card or two of the center cards.",
"Robber, wake up. You may exchange your card with another player's card, and then view your new card",
"Troublemaker, wake up. You may ex- change cards between two other players.",
"Drunk, wake up and exchange your card with a card from the center.",
"Insomniac, wake up and look at your card."
]
def role_script(role):
"""
This function generates a script for the announcer to use
for a particular role in a game of one-night werewolf.
Args:
role (str): A string representing a "role" in one-night werewolf
Returns:
str: The text of the script for the provided role
"""
if role in ROLES:
for i in range(len(ROLES)):
if ROLES[i] == role:
return SCRIPTS[i]
return None
def close_eyes_script(role):
"""
This function generates a script for the announcer to use
to tell a particular role to close their eyes
in a game of one-night werewolf.
Args:
role (str): A string representing a "role" in one-night werewolf
Returns:
str: The text of the script for the provided role.
"""
return role + ", close your eyes."
GO_TO_SLEEP_SCRIPT = "Everyone, Close your eyes!"
WAKE_UP_SCRIPT = "Everyone, Wake up!"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment