Question: The following is an assignment to be coded in Python 3.5. Please follow the instructions carefully and completely. The superclass for Human should be Predator

The following is an assignment to be coded in Python 3.5. Please follow the instructions carefully and completely. The superclass for Human should be Predator I believe.

The following is an assignment to be coded in Python 3.5. Pleasefollow the instructions carefully and completely. The superclass for Human should be

The link below is the code the assignment is based upon: https://pastebin.com/50T5RKek

Problem 1. Prey-Predators-Humans Problem Take the prey-predator problem described in Chapter 13 and add humans. Use the file program13- 14.py, attached to the assignment page. A human is a predator that eats prey. It also moves, breeds like an Animal, and kills predators (e.g. to keep prey for humans or for fun) Here are the detailed rules pertaining to humans: 1. A Human object moves like an Animal object on the island grid. 2. A Human object eats Prey just like a Predator object, with starving time given by a Human starve time class attribute, initialized in main0 3. A Human object breeds like an Animal object, with the breeding period given by a Human breed time class attribute, initialized in main0 4. A Human object hunts Predator objects periodically. Every Human.hunt time clock ticks (starting with the Human object's creation time), if a Predator is in a neighboring cell (using check grid0), Problem 1. Prey-Predators-Humans Problem Take the prey-predator problem described in Chapter 13 and add humans. Use the file program13- 14.py, attached to the assignment page. A human is a predator that eats prey. It also moves, breeds like an Animal, and kills predators (e.g. to keep prey for humans or for fun) Here are the detailed rules pertaining to humans: 1. A Human object moves like an Animal object on the island grid. 2. A Human object eats Prey just like a Predator object, with starving time given by a Human starve time class attribute, initialized in main0 3. A Human object breeds like an Animal object, with the breeding period given by a Human breed time class attribute, initialized in main0 4. A Human object hunts Predator objects periodically. Every Human.hunt time clock ticks (starting with the Human object's creation time), if a Predator is in a neighboring cell (using check grid0)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!