« All Events
5 PM – Intro To Java – Gamas
April 2, 2022 @ 5:00 pm - 6:00 pm
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