Thibault Duplessis commited on
Commit
6cf8fc6
·
1 Parent(s): bf1f342

relocate engine.xboardoptions

Browse files
Files changed (2) hide show
  1. config.yml.default +8 -8
  2. engine_wrapper.py +1 -1
config.yml.default CHANGED
@@ -18,17 +18,17 @@ engine: # engine settings
18
  Move Overhead: 100 # increase if your bot flags games too often
19
  Threads: 2 # max CPU threads the engine can use
20
  Hash: 256 # max memory (in megabytes) the engine can allocate
 
 
 
 
 
 
 
 
21
  silence_stderr: false # some engines (yes you, leela) are very noisy
22
 
23
 
24
- xboardoptions:
25
- # cores: "4"
26
- # memory: "4096"
27
- # egtpath: # dir containing egtb, relative to this project
28
- # gaviota: "Gaviota path"
29
- # nalimov: "Nalimov Path"
30
- # scorpio: "Scorpio Path"
31
- # syzygy: "Syzygy Path"
32
 
33
  max_concurrent_games: 1 # number of games to play simultaneously
34
  sort_challenges_by: "best" # possible values: "best", "first"
 
18
  Move Overhead: 100 # increase if your bot flags games too often
19
  Threads: 2 # max CPU threads the engine can use
20
  Hash: 256 # max memory (in megabytes) the engine can allocate
21
+ xboardoptions:
22
+ # cores: "4"
23
+ # memory: "4096"
24
+ # egtpath: # dir containing egtb, relative to this project
25
+ # gaviota: "Gaviota path"
26
+ # nalimov: "Nalimov Path"
27
+ # scorpio: "Scorpio Path"
28
+ # syzygy: "Syzygy Path"
29
  silence_stderr: false # some engines (yes you, leela) are very noisy
30
 
31
 
 
 
 
 
 
 
 
 
32
 
33
  max_concurrent_games: 1 # number of games to play simultaneously
34
  sort_challenges_by: "best" # possible values: "best", "first"
engine_wrapper.py CHANGED
@@ -29,7 +29,7 @@ def create_engine(config, board):
29
  silence_stderr = cfg.get("silence_stderr", False)
30
 
31
  if engine_type == "xboard":
32
- return XBoardEngine(board, commands, config.get("xboardoptions"), silence_stderr)
33
 
34
  return UCIEngine(board, commands, cfg.get("ucioptions"), silence_stderr)
35
 
 
29
  silence_stderr = cfg.get("silence_stderr", False)
30
 
31
  if engine_type == "xboard":
32
+ return XBoardEngine(board, commands, cfg.get("xboardoptions"), silence_stderr)
33
 
34
  return UCIEngine(board, commands, cfg.get("ucioptions"), silence_stderr)
35