American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

7 PM – Python OOP – Joshua (Joel Sub)

December 2 @ 7:00 pm - 8:00 pm

Today we did:
  1. We continued with MonsterInheritance and started working on the sword_attack and magic_attack in the main.
Homework:
  1. Make a two new monster classes: Troll and Kraken. They inherit from Monster.
    Kraken is immune to water attacks.
    Troll is immune to earth attacks.
    Of course, add the attacks in the magic_attack function in main.

Details

Date:
December 2
Time:
7:00 pm - 8:00 pm