initial event picker idea

This commit is contained in:
2025-07-24 23:00:34 +02:00
4 changed files with 150 additions and 45 deletions

View File

@@ -20,10 +20,12 @@ class BrSimArena():
def next_day(self):
self.day+= 1
print(f'Giorno: {self.day}')
print(f'Giocatori vivi: {self.get_alive_players()}')
alive_players_str= ', '.join([p.get_name() for p in self.get_alive_players()])
print(f'Giocatori vivi: {alive_players_str}')
death_players= self.get_death_players()
if (death_players):
print(f'Giocatori morti: {death_players}')
death_players_str= ', '.join([p.get_name() for p in death_players])
print(f'Giocatori morti: {death_players_str}')
def get_alive_players(self):
res= []