Merge pull request 'master' (#5) from green/battle_royale_sim:master into master

Reviewed-on: #5
This commit was merged in pull request #5.
This commit is contained in:
2025-07-26 18:07:53 +02:00
4 changed files with 64 additions and 1 deletions

View File

@@ -29,6 +29,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)