- This event has passed.
6:30 PM – Python OOP – Sebastian
June 26, 2025 @ 6:30 pm - 7:30 pm
Today we did
- Small review on inheritance
- Organized our code into methods in monster project
- Started the sword attack method
- AYC Logic’s observed holidays: https://www.ayclogic.com/observed-holidays/
- In case you need anything, feel free to email me at sebastian@ayclogic.com
Homework
- Please submit your homework into your Google Drive and name it “JUN26_hw.py”, just upload the entire main.py file with your changes but rename it to “JUN26_hw.py” after uploading
- Homework: Add on to sword_attack() method
- Choose a random number between 0 and the self.monster_object’s max_attack attribute
- Remove that amount from player.health attribute
- We’re now able to play the game, we can hit the monster and take damage