Inheritance · exercise 1 of 1 · free preview
The game so far · chapter 14
Right now: A shielded glitch shrugs off full hits, and Pip has no subclass to fight it.
This chapter's mission: Lets Pip fight a shielded glitch. Work through the exercises, then your own code brings it to life.
class Child(Parent): makes a subclass. It gets the parent's methods, and can replace some of them.
Robot.kind() returns "bot". Add class Scout(Robot) whose kind() returns "scout".