Files
  • main.py
  • Animals
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
import time
import random
animals = ["cat","dog"]
names = ["Daisy", "Scruffy", "Nemo", "Chrisanthonum", "Rocky", "Teddy", "Princess", "Prince", "Puppy", "Cat", "Dog"]

print("Hey! Are you ready to start the game??")
INPUT= input()
if INPUT.lower == "yes" or "yup":
  print("Okay lets get started!")
if INPUT == "no" :
    print("I dont care ツ")
if INPUT != "yes" or "no":
  print("try again please. I couldn't understand you ¯\_(ツ)_/¯")
  INPUT = input()
    
Animals = random.choice(animals)
Names = random.choice(names)
time.gmtime(3)
print("You are walking home from school, when you see a " + Animals + " that is injured. What do you do??? Do go back on your way, or stop to help, or go home and check if you can help?")
Input = input()
if  Input == " go home and check if you can help":
  print("Okay, so you head home as fast as you can. Your mother gives you materials and approval. You run back, but it is too late D: The " + Animals + " has gone to the stars. You did all you could.") 
if Input.lower == "stop to help":
  print(" Wow, well YOU certainly don't care about your equals. Well anyways, you let that animal die! If you wanna play again, click the run button, or restart the page. ")

if Input.lower == "do go back on my way" or "do go back on your way":
  print(" well you came just in time! The " + Animals + "'s pulse is close to 5 per minute, and is caked in blood. You look around the the body, and see some deep gashes all over, and one ear is damaged beyond repair. You phone your mom for advice.")
  print("                          ")
  print(" BUZZZZZ BUZZZZZ BUZZZZZ")
  print(" Your mom doesn't pick up, so you decide to message your science teacher, and yes, you have his number.  He almost immdeiatly picks up. What's up?  Homework Problem? he says. You both have a conversation abput your situation, and he says to ask the vet to take care of the " + Animals + " since it might have rabies. You immdeiatly call the vet. They arrive within minutes, and tell you that you saved the  " + Animals + "'s life. In the end, you are so attached to the "+Animals+" that you adopt her (yes it is a her!) and call her "+ Names +" :D")
  print(" If you want to play again, please restart the game!")

if Input.lower != "go back on your way" or "stop to help" or "go home and check if you can help" :
  print("try again please. I couldn't understand you ¯\_(ツ)_/¯")