MAXHEALTH = 100
# initialize our character
- def __init__ (self, startrow, startcol, position=LEFT, health=100, magic=10, experience=10, strength=10, gold=0, inventory = []):
+ def __init__ (self, startrow, startcol, position=LEFT, health=100, magic=1, experience=1, strength=1, gold=0, inventory = []):
self.position = position
self.row = startrow
self.col = startcol
self.experience = experience
self.strength = strength
self.health = health
- self.inventory = inventory
+ self.objects = inventory
self.gold = gold
-