1
0

ranking as commands or at the end of each day

This commit is contained in:
2025-07-26 17:56:54 +02:00
parent 65688b9100
commit 31637dc845
4 changed files with 64 additions and 1 deletions

View File

@@ -27,6 +27,9 @@ async def simulate_day(context, chat_id):
await context.bot.send_message(chat_id, f'Giorno #{Arena.day}')
msg= _dbg.play_one_day_debug(Arena)
await context.bot.send_message(chat_id, msg)
#Print the ranking each day
msg= Arena.get_ranking()
await context.bot.send_message(chat_id, msg)
if len(Arena.get_alive_players()) == 1:
msg= get_winner(Arena)
return await context.bot.send_message(chat_id, msg)