American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

7 PM – Intro To Java – Darin

August 12 @ 7:00 pm - 8:00 pm

What We Did Today:

  1. Continued the Monster Inheritance Project, implementing the play method for attacking and healing the monsters.
  2. Introduced Inheritance in Java through the magic attack system.

Homework:

Submit your code to the google drive when you are finished!

  1. Create the arrowAttack method for selection 3 in the play method, where you deal a random amount of damage from 5 – 20 to the selected monster.
  2. Create the getAttacked method where the monster attacks you with a random amount from (a lower bound u make up) to (m.getMaxAttack()) and use it in all 3 attack methods in play().

Notes:

If you have any questions, you can email me at ddjapri@ayclogic.com

AYC Logic’s observed holidays: https://www.ayclogic.com/observed-holidays/

Details

Date:
August 12
Time:
7:00 pm - 8:00 pm
Event Categories:
,
Verified by MonsterInsights