- This event has passed.
6 PM – Python OOP – Shawn
July 21, 2023 @ 6:00 pm - 7:00 pm
Gamas Sub
Today We Did
- We reviewed July14_Inheritance.py homework
- We continued creating the main.py for MonsterInheritance project.
Homework
- Continue with MonsterInheritance main.py and add these 2 features: List All Monsters and Start Adventure.
-
Welcome to AYC Logic adventure game 1. Add new monster 2. List all monsters 3. Start adventure Please make your selection. Enter "quit" to exit: 2 LIST ALL MONSTERS - The Mighty Dragon has 100 health and can do 100 damage - Troll - 50 health - 75 max damage - Water Golem - 50 health - 50 max damage Welcome to AYC Logic adventure game 1. Add new monster 2. List all monsters 3. Start adventure Please make your selection. Enter "quit" to exit: 3 Enter player's name: Gamas Enter player's health: 100 Gamas welcome to AYC Logic Adventure game. You have 100 health remaining