debug random map generator
This commit is contained in:
7
debug.py
7
debug.py
@@ -78,5 +78,12 @@ def init_debug_loop():
|
||||
last_player= Arena.get_alive_players()[0]
|
||||
print(f'{last_player.get_name()} sopravvive e vince dopo {Arena.day} lunghi Giorni, conquistando l\'amore eterno di Guarino')
|
||||
|
||||
def debug_random_map():
|
||||
from entities import map as _map;
|
||||
from entities import player;
|
||||
M= _map.BrSimMap(players= [player.BrSimPlayer(i) for i in range(20)]);
|
||||
res= M.get_renderized_map()
|
||||
print(res)
|
||||
|
||||
if __name__ == '__main__':
|
||||
init_debug()
|
||||
|
||||
Reference in New Issue
Block a user