
- This event has passed.
10 AM – Intro To Java – Gamas
January 8, 2022 @ 10:00 am - 11:00 am
Today We Do
- We added Player class
- We removed code duplication on Dragon, Troll and WaterGolem
- We added maxAttack on Monster.
Homework
- After player attacked monster, the monster also need to damage the player. The damage would be from range of 0 to monster.maxAttack.
- If the player.health <= 0, stop the loop.
- Download https://developer.android.com/studio