Games-and-Simulations / sc-docker

Multi-platform Version of StarCraft: Brood War in a Docker Container, ready to use for bot play simulations.
MIT License
231 stars 39 forks source link

Log from different games collected #51

Closed kant2002 closed 6 years ago

kant2002 commented 6 years ago

expected behaviour

INFO ---
INFO Logs are saved here:
INFO C:\Users\PC\AppData\Roaming/scbw/logs\GAME_test_0_Hao_Pan_bot.log
INFO C:\Users\PC\AppData\Roaming/scbw/logs\GAME_test_0_Hao_Pan_game.log
INFO C:\Users\PC\AppData\Roaming/scbw/logs\GAME_test_1_CherryPi_bot.log
INFO C:\Users\PC\AppData\Roaming/scbw/logs\GAME_test_1_CherryPi_game.log
INFO ---
...

actual behaviour

INFO ---
INFO Logs are saved here:
INFO C:\Users\PC\AppData\Roaming/scbw/logs\GAME_test2_0_CherryPi_bot.log
INFO C:\Users\PC\AppData\Roaming/scbw/logs\GAME_test2_0_CherryPi_game.log
INFO C:\Users\PC\AppData\Roaming/scbw/logs\GAME_test2_1_Hao_Pan_bot.log
INFO C:\Users\PC\AppData\Roaming/scbw/logs\GAME_test2_1_Hao_Pan_game.log
INFO C:\Users\PC\AppData\Roaming/scbw/logs\GAME_test_0_Hao_Pan_bot.log
INFO C:\Users\PC\AppData\Roaming/scbw/logs\GAME_test_0_Hao_Pan_game.log
INFO C:\Users\PC\AppData\Roaming/scbw/logs\GAME_test_1_CherryPi_bot.log
INFO C:\Users\PC\AppData\Roaming/scbw/logs\GAME_test_1_CherryPi_game.log
INFO ---
...

steps to reproduce

Run sequentially

scbw.play --bots "Hao Pan" CherryPi --headless --game_name=test2
scbw.play --bots "Hao Pan" CherryPi --headless --game_name=test
michalsustr commented 6 years ago

I'll look into it, I have an idea or two about slightly restructuring the outputs based on running many games.

kant2002 commented 6 years ago

@michalsustr I think I could implement quick fix for that. If you don't have time for this, let me know.

michalsustr commented 6 years ago

It's okay, I'll do it or my collegue will :)