« All Events
7 PM – Python OOP – Latisha
January 12, 2023 @ 7:00 pm - 8:00 pm
Homework
- Continue on WED-7PM-AdventureGame when user enter incorrect monster species, it will do the following
-
Please choose your monster:
Dragon - 100 health - 50 Max attack
Troll - 50 health - 20 Max attack
Water Golem - 30 health - 20 Max attack
Cyclops - 60 health - 30 Max attack
Enter your selection (enter 'stop' to quit the game): unicorn
Invalid selection, 'unicorn' is not in our system. Please try again
- when user enter correct monster species then it will don the following
-
Please choose your monster:
Dragon - 100 health - 50 Max attack
Troll - 50 health - 20 Max attack
Water Golem - 30 health - 20 Max attack
Cyclops - 60 health - 30 Max attack
Enter your selection (enter 'stop' to quit the game): dragon
What do you want to do with the dragon
1. Magic attack
2. Sword attack - 10 to 20 damage
Enter your selection: