refactoring

This commit is contained in:
Stefan Steininger
2024-01-31 12:40:59 +01:00
parent 992ec1f2fe
commit a6653d0266
4 changed files with 38 additions and 10 deletions

2
web.py
View File

@@ -5,5 +5,5 @@ from main import read_arguments
if __name__ == '__main__':
engine1, engine2, strategy1, strategy2, n_games, time, stockfish_path, lc0_path, n_proc = read_arguments()
limit = engine.Limit(time=0.5)
limit = engine.Limit(time=time)
web.WebInterface(engine1, engine2, strategy1, strategy2, stockfish_path, lc0_path, limit).run_app()