American Young Coder Academy – Indo

Loading Events

« All Events

  • This event has passed.

5 PM – Python OOP

October 15, 2021 @ 5:00 pm - 6:00 pm

Today We Do
  1. The students were having a lot of errors inside MonsterSystem project. We spent the entire class fixing this error.
Homework
  1. Inside monster.py, create a new method (method is a function inside a class), “received_magic_attack”, it has 2 parameters: attack_point, magic_attack
  2. Inside the “received_magic_attack” method, add code that would reduce monster.health. This one is very similar to “received_sword_attack” method.
    1. run your project and if you have any errors, email to gamas@ayclogic.com and nathaniel@ayclogic.com. In the email, attach (not copy and paste) all 4 files: dragon.py, monster.py, monster_system.py, water_golem.py. So we can replicate your problem.

Details

Date:
October 15, 2021
Time:
5:00 pm - 6:00 pm
Event Categories:
,
Verified by MonsterInsights