American Young Coder Academy – Indo

Loading Events

« All Events

  • This event has passed.

7PM – OOP Python – Latisha

March 1, 2023 @ 7:00 pm - 8:00 pm

Today We Did
  1. Continued working on Monster Inheritance
Homework
  1. In sword_attack, do the second half of the attack. Get the number of damage points the monster does to you, which should be a random number between 5 and the monster’s max attack. Then decrease your health by that number. Finally, print a message saying “<monster name> attacked you with <monster random damage> damage. Your remaining health is <your health>”

If you have any questions, you can ask me at latisha@ayclogic.com.

Details

Date:
March 1, 2023
Time:
7:00 pm - 8:00 pm
Verified by MonsterInsights