BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//American Young Coder - ECPv6.10.1.1//NONSGML v1.0//EN
CALSCALE:GREGORIAN
METHOD:PUBLISH
X-ORIGINAL-URL:https://www.ayclogic.com
X-WR-CALDESC:Events for American Young Coder
REFRESH-INTERVAL;VALUE=DURATION:PT1H
X-Robots-Tag:noindex
X-PUBLISHED-TTL:PT1H
BEGIN:VTIMEZONE
TZID:America/Los_Angeles
BEGIN:DAYLIGHT
TZOFFSETFROM:-0800
TZOFFSETTO:-0700
TZNAME:PDT
DTSTART:20240310T100000
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:-0700
TZOFFSETTO:-0800
TZNAME:PST
DTSTART:20241103T090000
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20241201T200000
DTEND;TZID=America/Los_Angeles:20241201T210000
DTSTAMP:20260520T065512
CREATED:20241202T055702Z
LAST-MODIFIED:20241202T055702Z
UID:27524-1733083200-1733086800@www.ayclogic.com
SUMMARY:8 PM - Python OOP - Joel
DESCRIPTION:Today we did:\n\nWe continued with MonsterSystem and learned about overriding.\n\n  \nHomework:\n\nIn the play_adventure_game method\, after the user chooses a valid monster\, after the if elif elif for the attack_selection\, you need to make sure that if the player’s health is <= 0\, you need to print “”<m.species> just killed you\, thank you for playing this game.”\, and break out of the loop.\nMake a new child class of the Monster (parent). It can be any monster you want (hydra\, godzilla\, anything). It needs to be associated to an element (that way it can be immune to that magic attack). Make a new element\, add it to the magic attack menu\, and in the magic_attack method\, add an elif for that magic attack selection. For the new monster’s class\, it needs to inherit from the Monster class (parent)\, needs to have the same constructor (type the species name when you call the super’s constructor)\, and make a receive magic attack similar to how we did for dragon\, troll\, etc. Finally\, make sure to add it in the dictionary in the initialize_monsters method. Remember to import Monster into the child class\, and also import the new child class into the MonsterSystem.
URL:https://www.ayclogic.com/event/8-pm-python-oop-joel-7/
END:VEVENT
END:VCALENDAR