moved interface to its own class, minor interface updates
This commit is contained in:
@@ -18,7 +18,6 @@ class Kinggotchi:
|
||||
result = 'I am Kinggotchi '+str(self.name)+'.\nIn my Kingdom live '+str(self.all_tamagotchis())+' Tamagotichs.\nIn my Kingdom '+str(self.all_dead())+' Tamagotchis have died so far.\n\nThese are the '+str(len(self.myvillages))+' Villages in my Kingdom:\n'
|
||||
|
||||
for n in self.myvillages:
|
||||
# result += '-----------------------------------------------------------------------------------------\n'
|
||||
result += n.give_overview()
|
||||
|
||||
return result
|
||||
@@ -37,6 +36,4 @@ class Kinggotchi:
|
||||
result = 0
|
||||
for n in self.myvillages:
|
||||
result += n.graveyard
|
||||
return result
|
||||
|
||||
|
||||
return result
|
||||
Reference in New Issue
Block a user