from animals import Goose, Python, Crocodile, Salamander, Anaconda, Gecko, StingRay, Goldfish, Catfish, Otter, Shark, Llama, Goat, Horse, Pig, Cow

silk = Python("Silk", "python", "mouse")
jaws = Crocodile("Jaws", "crocodile", "rat")
sammy = Salamander("Sammy", "salamander", "lizard food")
nicki = Anaconda("Nicki", "anaconda", "rat")
geiko = Gecko("Geiko", "gecko", "lizard food")

ray = StingRay("Ray", "stingray", "ray food")
nemo = Goldfish("Nemo", "goldfish", "fish food")
feline = Catfish("Feline", "catfish", "worms")
tubs = Otter("Tubs", "otter", "small fish")
bruce = Shark("Bruce", "Great White Shark", "small fish")

kevin = Llama("Kevin", "domesticated Llama", "morning", "llama food")
gary = Goat("Gary", "billy-goat", "mid-day", "goat food")
chester = Horse("Chester", "stallion", "afternoon", "hay")
oinky = Pig("Oinky", "pot-belly", "morning", "oats")
bessy = Cow("Bessy", "milking cow", "afternoon", "grass")
bob = Goose("Bob", "Canada goose", "watercress sandwiches")
bob.run()
bob.swim()

varmit_village = PettingZoo("Varmit Village")
crocodile_valley = SnakePit("Crocodile Valley")

crocodile_valley.add_animals(jaws)
crocodile_valley.add_animals(sammy)
crocodile_valley.add_animals(nicki)

print(crocodile_valley.last_critter_added)
Exemple #2
0
varmint_village.add_animal_pythonic(snappy)





# fluffy_village = PettingZoo("Fluffy Village")
# varmint_village = PettingZoo("Varmint Village")
# wet_village = Wetlands("Wet Village")
# print(wet_village.description)


############

miss_fuzz = Llama("Miss Fuzz", "domestic llama", "morning", "Llama Chow" )
mr_fuzz = Goat("Mister Fuzz", "mountain goat", "morning", "Goat Chow")
baby_fuzz = Alpaca("Baby Fuzz", "domestic alpaca", "morning", "Alpaca Chow")
fancy_fuzz = Pony("Fancy Fuzz", "miniature horse", "morning", "Pony Chow")
oink_fuzz = Pig("Oink Fuzz", "domestic pig", "morning", "Pig Chow")

# fluffy_village.add_to_list(miss_fuzz)
# fluffy_village.add_to_list(mr_fuzz)
# fluffy_village.add_to_list(baby_fuzz)
# fluffy_village.add_to_list(fancy_fuzz)
# fluffy_village.add_to_list(oink_fuzz)

##########

sneky = Snake("Sneky", "copperhead", "morning", "Snake Chow")
squirt = Turtle("Squirt", "turtle", "morning", "Turtle Chow")
lizzie = Lizard("Lizzie", "lizard", "morning", "Lizard Chow")
# from movements import Slithering

bob = Goose("Bob", "Canada goose", "morning", "watercress sandwiches", 44995)
bob.run()
bob.swim()

miss_fuzz = Llama("Miss Fuzz", "domestic llama", "midday", "llama chow", 55234)
print(miss_fuzz.chip_number)

print(miss_fuzz.name)
print(
    f'{miss_fuzz.name}, the {miss_fuzz.species}, is available to pet during the {miss_fuzz.shift} shift.'
)
miss_fuzz.feed()

fuzz_butt = Goat("Fuzz Butt", "cutest baby goat ever", "morning", "goat food",
                 55012)
print(fuzz_butt)
print(
    f'{fuzz_butt.name}, the {fuzz_butt.species}, is available to pet during the {fuzz_butt.shift} shift.'
)
fuzz_butt.feed()

bugs = Bunny("Bugs", "wraskly rabbit", "afternoon", "carrots", 55901)
print(bugs)
print(
    f'{bugs.name}, the {bugs.species}, is available to pet during the {bugs.shift} shift.'
)
bugs.feed()

rufus = Bobcat("Rufus", "best party cat", "morning", "bobcat chow", 55743)
print(rufus)
Exemple #4
0
    "Chipmunk",
    "corn",
)
harriet = Hedgehog(
    "harriet",
    "Hedgehog",
    "larve",
)
chi = Chinchilla(
    "chi",
    "Chinchilla",
    "veggies",
)
gill = Goat(
    "gill",
    "Goat",
    "grain",
)
alfred = Alpaca(
    "alfred",
    "Alpaca",
    "hay",
)
larry = Llama(
    "larry",
    "Llama",
    "hay",
)
susan = Snake(
    "susan",
    "Snake",
Exemple #5
0
from animals import Carp, Catfish, Copperhead, CoralSnake, Cottonmouth, Crocodile, Donkey, Goat, Llama, Monkey, Python, RattleSnake, Seal, Tiger, Turtle
from attractions import PettingZoo, SnakePit, Wetlands

# Naming attractions
varmint_village = PettingZoo('Varmint Village')
the_slither_inn = SnakePit('The Slither Inn')
critter_cove = Wetlands('Critter Cove')

# Naming animals and adding them to Petting Zoo
mizz_fuzz = Llama("Miss Fuzz", "domestic llama", "morning", "llama chow", 34)
billy = Goat("Billy", "american pygmy", "midday", "goat chow", 12)
tony = Tiger("Tony", "bengal tiger", "midday", "tiger chow", 32)
george = Monkey("George", "spider monkey", "night", "monkey chow", 23)
geoff = Donkey("Geoff", "donkey", "night", "donkey chow", 14)
varmint_village.add(mizz_fuzz)
varmint_village.add(billy)
varmint_village.add(tony)
varmint_village.add(george)
varmint_village.add(geoff)

# Naming animals and adding them to Wetlands
bruce = Turtle("Bruce", "turtle", "turtle chow", 65)
croc = Crocodile("Croc", "crocodile", "fish chow", 66)
willy = Catfish("Willy", "blue catfish", "fish chow", 67)
lucile = Seal("Lucile", "seal", "fish chow", 68)
big_mouth = Carp("Big Mouth", "asian carp", "fish chow", 69)
critter_cove.add(bruce)
critter_cove.add(croc)
critter_cove.add(willy)
critter_cove.add(lucile)
critter_cove.add(big_mouth)
Exemple #6
0
from attractions import PettingZoo, SnakePit, Wetlands

from animals import Copperhead, Diamondback, Donkey, Fish_With_No_Eyes, Goat, Goldfish, Goose, Gorgon, Jellyfish, Llama, Mallard, Orangutan, Rat_Snake, Rattlesnake, Shark, Small_Horse

steve_url = Copperhead("Steve Url", "copperhead", "snake pellets", 1)
lucy = Diamondback("Lucy", "diamondback", "cashews", 2)
donkeh = Donkey("Donkeh", "donkey", "morning", "waffles", 3)
fsh = Fish_With_No_Eyes("Fsh", "fish with no eyes", "carrots", 4)
g****e = Goat("G****e", "goat", "afternoon", "goat snacks", 5)
silver = Goldfish("Silver", "goldfish", "Goldfish", 6)
euryale = Gorgon("Euryale", "gorgon", "gorgonzola", 7)
mav = Goose("Mav", "Canada goose", "watercress sandwiches", 16)
peanut_butter = Jellyfish("Peanut Butter", "jellyfish", "sandwiches", 8)
miss_fuzz = Llama("Miss Fuzz", "llama", "evening", "llamagranates", 9)
mallory = Mallard("Mallory", "mallard", "mallort", 10)
tang = Orangutan("Tang", "orangutan", "midnight", "Tang", 11)
snat_rake = Rat_Snake("Snat Rake", "rat snake", "Rat Snacks(TM)", 12)
maracas = Rattlesnake("Maracas", "rattlesnake", "rattlesnacks", 13)
jaws = Shark("Jaws", "shark", "bigger boats", 14)
little_sebastian = Small_Horse("Little Sebastian", "small horse", "sunrise",
                               "hay-zelnuts", 15)

varmint_village = PettingZoo("Varmint Village",
                             "cute and fuzzy critters to cuddle")
snake_hole = SnakePit("The Snake Hole",
                      "unlovable and slithery critters to avoid")
soggy_bottoms = Wetlands("Soggy Bottoms", "wet and wild critters in your area")

varmint_village.add([donkeh, g****e, miss_fuzz, tang, little_sebastian])
snake_hole.add([steve_url, lucy, euryale, snat_rake, maracas])
soggy_bottoms.add([fsh, silver, peanut_butter, mallory, jaws])
from animals import Copperhead, Coralsnake, Coy, Donkey, Duck
from animals import Frog, Goat, Goldfish, Goose, Horse, Llama
from animals import Moccassin, Python, Ratsnake, Sheep
from attractions import Wetlands, SnakePit, PettingZoo

varmint_village = PettingZoo("Varmint Village",
                             "cute and fuzzy critters to cuddle")
slither_inn = SnakePit("Slither Inn", "slithering snakes and creepy crawlies")
critter_cove = Wetlands("Critter Cove", "fins and feathers in all colors")

miss_fuzz = Llama('Miss Fuzz', 'domestic llama', 'morning', 'grass', 12345)
hee_haw = Donkey('Hee Haw', 'mountain donkey', 'midday', 'apples', 908790)
satan = Goat('Satan', 'pygmy goat', 'afternoon', 'grass', 8654675)
perm = Sheep('Perm', 'curly sheep', 'morning', 'grass', 837594)
ed = Horse('Mr. Ed', 'Tennessee walking horse', 'midday', 'oats', 957983)
cuddles = Ratsnake('Cuddles', 'Ratsnake', 'mice', 87676)
kissy = Copperhead('Kissy', 'Copperhead', 'mice', 4657)
monty = Python('Monty', 'python', 'rats', 665679)
cotton = Moccassin('Cotton', 'cotton mouth', 'frogs', 356554)
rainbow = Coralsnake('Rainbow', 'coral snake', 'roaches', 108375)
tangerine = Goldfish('Tangerine', 'goldfish', 'fish flakes', 23987)
waddle = Duck('Waddle', 'mallard', 'corn kernels', 487589)
ki = Coy('Ki', 'coy', 'fish flakes', 87984)
ribbit = Frog('Ribbit', 'bull frog', 'flies', 58769)
the_devil = Goose('The Devil', 'goose', 'corn kernels', 63495)

varmint_village.add(miss_fuzz)
varmint_village.add(hee_haw)
varmint_village.add(satan)
varmint_village.add(perm)
varmint_village.add(ed)
Exemple #8
0
from animals import RedFish
from animals import BlueFish
from animals import Catfish
from animals import KoiFish

from attractions import PettingZoo
from attractions import SnakePit
from attractions import Wetlands

varmint_village = PettingZoo("Varmint Village")
the_slither_inn = SnakePit("The Slither Inn")
critter_cove = Wetlands("Critter Cove")

JA = Donkey("JA", "donkey", "morning", "straw", 334)
Black = Sheep("Black", "sheep", "afternoon", "hay", 123)
Billy = Goat("Billy", "goat", "midday", "pellets", 456)
Milkshake = Cow("Milkshake", "Cow", "morning", "grass", 765)
RedRum = Horse("RedRum", "horse", "midday", "apples", 678)

varmint_village.animals.extend([JA, Black, Billy, Milkshake, RedRum])

Noodles = Watersnake("Noodles", "watersnake", "fish", 198)
Zoe = Rattlesnake("Zoe", "rattlesnake", "rabbit", 444)
Snape = Cottonmouth("Snape", "cottonmouth", "salamander", 111)
Buttercup = Ratsnake("Buttercup", "ratsnake", "shrew", 222)
Sssssam = Copperhead("Sssssam", "copperhead", "mice", 555)

the_slither_inn.animals.extend([Noodles, Zoe, Snape, Buttercup, Sssssam])

Goldie = Goldfish("Goldie", "goldfish", "shelled peas", 989)
Romeo = RedFish("Romeo", "redfish", "mullet", 454)
miss_fuzz = Llama("Miss_Fuzz", "llama", "afternoon", "llama chow", 59)
print(
    f'{miss_fuzz.name} the {miss_fuzz.species} is available to pet during the {miss_fuzz.shift} shift.'
)
print(miss_fuzz.feed())

wilbur = Pig("Wilbur", "pot-bellied pig", "midday", "slop", 29)
print(wilbur.feed())

eeyore = Donkey("Eeyore", "donkey", "morning", "", 32)
print(eeyore.feed())

bugs = Rabbit("Bugs", "rabbit", "afternoon", "food", 116)

bonnie = Goat("bonnie", "goat", "midday", "grass", 789)

tim = Turtle("Tim", "box turtle", "morning", "bugs", 123789)

print(tim.chip_number)

moriah = Duck("Moriah", "mallard", "food", "afternoon", 1167)

patrick = Otter("Patrick", "otter", "food", "midday", 2345)

chuck = Catfish("Chuck", "catfish", "food", "morning", 5674)

steve = Stingray("Steve", "stingray", "food", "midday", 6785)

alex = Skink("Alex", "skink", "insects", "afternoon", 6780)
Exemple #10
0
from http.server import BaseHTTPRequestHandler, HTTPServer
from animals import Animal, Llama, Goat, Donkey, Pig, Ox, Ratsnake, Copperhead, Python, Rattlesnake, Kingsnake, SeaTurtle, Eel, Dolphin, Shark, Whale, Goose
from attractions import PettingZoo, Wetlands, SnakePit, Attraction
from datetime import date
import json


mama = Llama(1, "Mama Llama", "domestic llama","morning", "llama chow")
billy = Goat(2, "Billy", "domestic goat", "midday", "goat chow")
waffles = Donkey(3, "Waffles", "domestic donkey", "afternoon", "donkey chow")
chris = Pig(4,"Chris P Bacon", "domestic pig", "morning", "pig chow")
para = Ox(5, "Para 'D' Ox", "domestic ox", "midday", "ox chow")
# goose = Goose(16, "Goose the Goose", "domestic goose", "goose chow")

dude = SeaTurtle(6, "Dude", "domestic sea turtle")
shocky = Eel(7, "Shocky", "domestic eel")
towel = Dolphin(8, "Towel", "domestic dolphin")
finn = Shark(9, "Finn", "domestic shark")
boo = Whale(10,"Boo You Whale", "domestic whale")

cheese = Ratsnake(11, "Cheese", "domestic ratsnake")
bronze = Copperhead(12, "Bronze", "domestic copperhead")
monty = Python(13, "Monty", "domestic python")
shake = Rattlesnake(14,"Shake", "domestic rattlesnake")
louis = Kingsnake(15, "King Louis", "domestic kingsnake")

varmint_village = PettingZoo("Varmint Village", "cute and fuzzy critters to cuddle")
pit_of_doom = SnakePit("Pit of Doom", "cute and scaley critters")
waterworld = Wetlands("Waterworld", "cute and wet critters")

varmint_village.add_animal(mama)
Exemple #11
0
from attractions import *
from animals import *
from movements import *
from animals import Donkey, Lion, Animal, Lama, Alligator, Anaconda, Catfish, Copperhead, Frog, Goat, Goldfish, King_Cobra, Mallard, Monkey, Python, Rat_Snake
## Create Animals ##
## Varmint Village ##
frosty = Donkey("Frosty", "Donkey", "Midday", "Hay", 19378387)
rosco = Lama("Rosco", "Lama", "Morning", "Lama Chow", 123456)
bella = Goat("Bella", "Goat", "Evening", "GoatMeal", 101893843)
bill = Monkey("Bill", "Monkey", "Morning", "Nuts", 1924747)
nasty = Lion("Nasty", "Lion", "Midday", "Chicken", 129305854)
## Snake Pit ##
rusty = Copperhead("Rusty", "Copperhead", "Mice", 1212)
ratty = Rat_Snake("Ratty", "Rat Snake", "Rat", 1112222)
tiny = Anaconda("Tiny", "Anaconda", "Rabbit", 1917324784)
hugs = Python("Hugs", "Python", "Rabbit", 12298766)
nebuchadnezzar = King_Cobra("Nebuchadnezzar", "King Cobra", "Mice", 121233333)

## Wetlands ##
tricks = Catfish("Tricks", "Catfish", "Catfood", 323232323)
froggy = Frog("Froggy", "Frog", "Frog Legs", 9987766)
daffy = Mallard("Daffy", "Mallard", "Bread", 8767565422)
willy = Goldfish("Willy", "Goldfish", "Fish Flakes", 876756545)
cuddles = Alligator("Cuddles", "Alligator", "Chicken", 98765665)

## Create Attractions ##
varmint_village = PettingZoo("Varmint Village",
                             "cute and cuddly critters to cuddle with!")
snake_pit = SnakePit("The Snake Pit",
                     "slimy friends that want to squeeze you!")
wetlands = Wetlands("The Wetlands", "slippery water lovers to get wet with!")
Exemple #12
0
from animals import Barreleye, Bird, Catfish, Donkey, Duck, Goat, Goldfish, Insect, King_Cobra, Kingsnake, Llama, Pig, Sheep, Snake, Whale
from attractions import Petting_Zoo, Snake_Pit, Wetlands

bassy = Barreleye('Bassy', 'fish', 'Morning', 'Fish chips', 12345)
cotters = Bird('Cotters', 'shoebill', 'Evening', 'Bird Food')
catty = Catfish('Catty', 'catfish', 'Afternoon', 'Fish Chips')
dokay = Donkey('Dokay', 'amiatina', 'Morning', 'Donkey food')
malaard = Duck('Malaard', 'mallard', 'Evening', 'Duck food')
lebron = Goat('Lebron', 'goat', 'Afternoon', 'Goat food')
goldie = Goldfish('Goldie', 'goldfish', 'Evening', 'Fish chips')
scorpie = Insect('Scorpie', 'scorpion', 'Morning', 'Insect food')
moonshine = King_Cobra('Moonshine', 'snake', 'Afternoon', 'Snake food')
kingsby = Kingsnake('Kingsby', 'snake', 'Morning', 'Snake food')
llavya = Llama('Llavya', 'llama', 'Evening', 'Llama food')
pinky = Pig('Pinky', 'Duroc pig', 'Afternoon', 'Pig food')
shep = Sheep('Shep', 'sheep', 'Morning', 'Sheep food')
anex = Snake('Anex', 'anaconda', 'Evening', 'Snake food')
swain = Whale('Swain', 'Humpback', 'Afternoon', 'Whale food')

varmint_village = Petting_Zoo("Varmint Village", "Pet all you can!")
reptilian_corner = Snake_Pit("Reptilian Corner",
                             "Lots and Lots and Lots of Reptiles")
the_wet_place = Wetlands("The Wet Place", "It's wet here.")

varmint_village.add_animals(
    [dokay, cotters, malaard, lebron, llavya, pinky, shep, swain])
reptilian_corner.add_animals([scorpie, moonshine, kingsby, anex])
the_wet_place.add_animals([catty, goldie, swain])

print(the_wet_place)
from animals import Goose, Alligator, Alpaca, Bird, Donkey, Duck, Fish, Frog, Goat, Lizard, Llama, Pig, Snake, Toad, Tortoise, Turtle
from attractions import PettingZoo, SnakePit, Wetlands

barbara = Llama("Barbara", "Domestic Llama", "morning", "Llama Chow", 12345)

kong = Donkey("Kong", "African Wild Ass", "midday", "Donkey Chow", 12346)

tom_brady = Goat("Tom Brady", "Wild Goat", "afternoon", "Goat Chow", 12347)

fluffy = Alpaca("Fluffy", "Domestic Alpaca", "morning", "Alpaca Chow", 12348)

porky = Pig("Porky", "Pot Belly Pig", "midday", "Pig Chow", 12349)

bertha = Snake("Bertha", "Green Anaconda", "Snake Chow", 23456)

jose = Lizard("Jose", "Mexican Beaded Lizard", "afternoon", "Lizard Chow", 23457)

wayne = Tortoise("Wayne", "Galapagos Tortoise", "morning", "Tortoise Chow", 23458)

michelangelo = Turtle("Michelangelo", "Teenage Mutant Ninja Turtle", "midday", "Turtle Chow", 23459)

chompy = Alligator("Chompy", "American Alligator", "afternoon", "Alligator Chow", 34567)

nemo = Fish("Nemo", "Clown Fish", "Fish Chow", 34568)

miss_blue = Bird("Miss Blue", "Great Blue Turaco", "morning", "Bird Chow", 34569)

frogger = Frog("Frogger", "Green Frog", "midday", "Frog Chow", 45678)

mr_toad = Toad("Mr. Toad", "Common Toad", "afternoon", "Toad Chow", 45679)
Exemple #14
0
from animals import Lizard, Donkey, Llama, Frog, Goat, Snake, Duck, Fish, Bull, Pigeon, Stork, Rabbit, Snail, Parakeet, Rhino
from attractions import PettingZoo, SnakePit, Wetlands

kenny = Lizard('Kenny', 'lizard', 'manflesh', 69420)
jenny = Donkey('Jenny', 'donkey', 'midnight', 'manflesh', 1337)
penny = Llama('Penny', 'llama', 'dusk', 'manflesh', 808)
benny = Frog('Benny', 'frog', 'manflesh', 8675309)
lenny = Goat('Lenny', 'goat', 'dusk', 'manflesh', 123)
vinny = Snake('Vinny', 'snake', 'mouseflesh', 324)
connie = Duck('Connie', 'duck', 'dawn', 'gooseflesh', 909)
johnny = Fish('Johnny', 'fish', 'fishflesh', 9)
ronnie = Bull('Ronnie', 'bull', 'midnight', 'manflesh', 1011)
lonny = Pigeon('Lonny', 'pigeon', 'anything', 666)
yonni = Stork('Yonni', 'stork', 'fishflesh', 2244)
donnie = Rabbit('Donnie', 'rabbit', 'dusk', 'carrotflesh', 42)
bonnie = Snail('Bonnie', 'snail', 'unknown', 1307)
keeter = Parakeet('Keeter', 'parakeet', 'snailflesh', 789)
reeter = Rhino('Reeter', 'rhino', 'dusk', 'manflesh', 2)

eatin_good = PettingZoo('Eatin Good')
baller_crawler = SnakePit('Baller Crawler')
wetty_already = Wetlands('Wetty Already')

eatin_good.addAnimals(jenny, penny, lenny, ronnie, donnie, reeter)
baller_crawler.addAnimals(kenny, benny, vinny, bonnie)
wetty_already.addAnimals(connie, johnny, lonny, yonni, keeter)

for animal in eatin_good.animals:
    print(
        f"{animal.name} is a good {animal.species} in {eatin_good.attraction_name}"
    )