BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//American Young Coder - ECPv6.10.1.1//NONSGML v1.0//EN
CALSCALE:GREGORIAN
METHOD:PUBLISH
X-WR-CALNAME:American Young Coder
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:20210314T100000
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:-0700
TZOFFSETTO:-0800
TZNAME:PST
DTSTART:20211107T090000
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20211210T190000
DTEND;TZID=America/Los_Angeles:20211210T200000
DTSTAMP:20260424T125200
CREATED:20211211T051918Z
LAST-MODIFIED:20211211T051918Z
UID:10701-1639162800-1639166400@www.ayclogic.com
SUMMARY:7 PM - Python OOP
DESCRIPTION:Homework\n\nIn your MonsterInheritance project\, before displaying list of monster\, display the player’s health. (self.player_health)\nContinue our “2. Sword attack – 10 to 20 damage” code\, which is to reduce the player’s health by generating random number between 0 to monster.max_attack. And then print the updated player’s health.\nWhen user select “1. Magic attack” display the Magic attack menu. Look at the bottom of this page to see what the magic attack menu look like.\nWhen user select one of the magic attack menu\, do a similar thing with Sword attack\, reduce monster’s health and reduce player’s health.\nLook at below example\n\nWelcome to AYCLOGIC Adventure game.\n\nYour have 200 health remaining.\nPlease choose your monster: \nTroll - 50 healths - 30 Max attack points.\nWater Golem - 30 healths - 20 Max attack points.\nDragon - 100 healths - 50 Max attack points.\nEnter your selection (enter "exit" to quit): troll\n\nWhat do you want to do with the Troll\n1. Magic attack\n2. Sword attack - 10 to 20 damage\nEnter your selection: 2\nYou attacked Troll and the Troll has 37 health remaining.\nTroll attacked you with 21 attack points. Your remaining health is 179.\n\nYour have 179 health remaining.\nPlease choose your monster: \nTroll - 37 healths - 30 Max attack points.\nWater Golem - 30 healths - 20 Max attack points.\nDragon - 100 healths - 50 Max attack points.\nEnter your selection (enter "exit" to quit): troll\n\nWhat do you want to do with the Troll\n1. Magic attack\n2. Sword attack - 10 to 20 damage\nEnter your selection: 1\n\nWhat kind of magic attack you want to do:\n1. Fire magic - Max damage: 10\n2. Water magic - Max damage: 10\n3. Earth magic - Max damage: 15\n4. Wind magic - Max damage: 8 \nEnter your selection: 1\nYou attacked Troll and the Troll has 32 health remaining.\nTroll attacked you with 9 attack points. Your remaining health is 170.\n\nYour have 170 health remaining.\nPlease choose your monster: \nTroll - 32 healths - 30 Max attack points.\nWater Golem - 30 healths - 20 Max attack points.\nDragon - 100 healths - 50 Max attack points.\nEnter your selection (enter "exit" to quit):
URL:https://www.ayclogic.com/event/7-pm-python-oop-13/
CATEGORIES:OOP Python,Python Class
END:VEVENT
END:VCALENDAR