Lab 8

Critters

You had a chance to practice OOP in your last lab. You learned about classes, objects, attributes, and methods. This week we’ll be going deeper down the rabbit hole. Aside from getting more practice with OOP, you’ll learn to use inheritance to create a variety of related objects.

Goals

  • Practice using inheritance to create new classes
  • Learn how to integrate your code into a large project
  • Practice debugging complex code
  • Build the ultimate critter!

Permitted Functions

Below is a list of the functions you are allowed to use in this lab. Generally, the rule is if you can use it in a previous lab, you can use it in this lab. If there is something you want to use but it isn’t listed here, first check if it is on your class slides / runestone and if it’s not there ask your professor.

  • super()
  • .reverse()
  • random.choice()