added stockfish elo parameter
This commit is contained in:
7
web.py
7
web.py
@@ -2,8 +2,7 @@ from chesspp import engine
|
||||
from chesspp import web
|
||||
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=time)
|
||||
web.WebInterface(engine1, engine2, strategy1, strategy2, stockfish_path, lc0_path, limit).run_app()
|
||||
engine1, engine2, strategy1, strategy2, n_games, time, stockfish_path, lc0_path, n_proc, nodes, stockfish_elo = read_arguments()
|
||||
limit = engine.Limit(time=time) if time != -1 else engine.Limit(nodes=nodes)
|
||||
web.WebInterface(engine1, engine2, strategy1, strategy2, stockfish_path, lc0_path, limit, stockfish_elo).run_app()
|
||||
|
||||
Reference in New Issue
Block a user