10 AM - Intro To Java - Gamas
2022-04-02 10:00 - 11:00 (America/Los_Angeles)
Today We Do

We finished PetSystem.
We reviewed Inheritance
We reviewed how to use Map.

Homework

Next week is a 2 hours final test. Please study the following

Bank System Quiz and its solution.
Monster Inheritance
PetSystem

All codes have been uploaded to Google Drive
Please let me know if you have any questions to gamas@ayclogic.com or text me to 626-532-7844.

12 PM - Intro To Java - Gamas
2022-04-02 12:00 - 13:00
Homework

Continue on MonsterInheritance
Add the ability to heal the player
Change monster status according to its health. If its health is less than 0, display <Monster Name> has been defeated. For example, – TROLL has been defeated.
Look at below for expected behavior.
Gamas has 44 health remaining.
Please select one of the following monsters:
- TROLL - Health: 5
- DRAGON - Health: 100
- WATER GOLEM - Health: 50
Enter the monster species
(enter 'exit' to quit or 'heal' to heal the player): heal

HEAL PLAYER
Enter healing point: 30
Now the player has 74 health remaining

Gamas has 74 health remaining.
Please select one of the following monsters:
- TROLL - Health: 5
- DRAGON - Health: 100
- WATER GOLEM - Health: 50
Enter the monster species:
(enter 'exit' to quit OR 'heal' to heal player): troll

What do you want to do with the TROLL:
1. Magic attack
2. Melee attack
3. Arrow attack
4. Heal
Enter your selection:1

What kind of magic attack you want to do to Troll:
1. Fire magic - 10 damage
2. Water magic - 10 damage
3. Earth magic - 12 damage
4. Wind magic - 8 damage
Enter your selection:1
You attacked the Troll and killed it. Congratulation
The Troll attacked the player with 40 attack.

Gamas has 74 health remaining.
Please select one of the following monsters:
- Troll has been defeated
- DRAGON - Health: 100
- WATER GOLEM - Health: 50
Enter the monster species:
(enter 'exit' to quit OR 'heal' to heal player):

3 PM - Intro to Java - Gamas
2022-04-02 15:00 - 16:00
Homework

Continue on EmailApplication program.
Add the following features. 1. Create Email Account, 3. List All Email Accounts, 4. Exit.
Use Map to store the Email Account.
Create new class EmailAccount.java to store the email account.
Look at example below

Please select from below
1. Create an Email Account
2. Login
3. List all Email Accounts
4. Exit
Enter your selection:1

CREATE EMAIL ACCOUNT
1. Enter your name: Bradley
2. Enter your email: bradley@ayclogic.com
3. Enter your password: [REDACTED]
You have successfully created email account for Bradley.

Please select from below
1. Create an Email Account
2. Login
3. List all Email Accounts
4. Exit
Enter your selection:3

There are total of 3 email accounts in the system
1. Bradley - bradley@ayclogic.com
2. Gamas Chang - gamas@ayclogic.com
3. Jessica Sunjoyo - jessica@ayclogic.com

Please select from below
1. Create an Email Account
2. Login
3. List all Email Accounts
4. Exit
Enter your selection:4

Thank you for using AYCLOGIC Email System.

5 PM - Intro To Java - Gamas
2022-04-02 17:00 - 18:00
Today We Do

We reviewed Quiz last week.
We started Monster Inheritance project.

Homework

Continue on MonsterInheritance project. Add the following features: Add Monster, List all Monsters and Play The Game
Look at below for expected result

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):2

LIST ALL MONSTERS
- troll - health 50
- dragon - health 100
- water golem - health 30

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):1

ADD NEW MONSTER
Enter monster species: Cyclops
Enter monster health: 50
Enter monster max damage: 50
You have successfully added Cyclops

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

Enter player's name: Gamas
Enter player's health: 100

Gamas has 100 health remaining.
Please select one of the following monsters:
- troll - health 50
- dragon - health 100
- water golem - health 30
Enter your selection (Enter 'stop' to end the game): aasfd
invalid selection

Gamas has 100 health remaining.
Please select one of the following monsters:
- troll - health 50
- dragon - health 100
- water golem - health 30
Enter your selection (Enter 'stop' to end the game): stop

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):exit
Thank you for playing AYCLOGIC Monster Inheritance game
