American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

9 AM – Intro To Java – Gamas

August 20, 2022 @ 9:00 am - 10:00 am

Homework
  1. Continue with Monster Inheritance, add heal monster feature.
  2. Please select from one of the following
    1. Add new monster
    2. List all monsters
    3. Play the game
    Enter your selection (enter "exit" to quit): 3
    
    PLAY GAME
    What is your name: Gamas
    How much health do you want: 100
    
    Gamas has 100 health remaining.
    Please select one of the following monsters:
    - Troll - 70 health
    - Dragon - 100 health
    - Water Golem - 50 health
    Enter your selection (Enter 'stop' to end the game): troll
    
    What do you want to do with the troll:
    1. Magic attack
    2. Melee attack
    3. Arrow attack (5 -10 damage)
    4. Heal
    Enter your selection: 4
    
    HEAL MONSTER
    How much health you want to heal the troll: 10
    Troll now has 80 health points

Details

Date:
August 20, 2022
Time:
9:00 am - 10:00 am
Event Categories:
,
Verified by MonsterInsights