- This event has passed.
6 PM – Python OOP – Joel
January 15 @ 6:00 pm - 7:00 pm
Today we did:
- We started GameSystem.
Homework:
- #Add two new attributes to both the character, warrior, and any other
#child classes of character.
#It will be ‘health’ and ‘damage’ and they are both integers
#Don’t forget to change the add character to also ask for health and damage
#and also create the character with health and damage
#In the character classes, warrior, etc.
#In the main,
#Make a new selection called “Battle”
#Ask for one character and take it from the dictionary if it exists,
#and ask another character as well and also take it
#Add the damage and health together for each character
#And compare them.
#Whoever has the higher value wins.
#Print a print statements declaring which character won.