Spaces:
Running
Running
Update config.yml
Browse files- config.yml +15 -13
config.yml
CHANGED
|
@@ -1,8 +1,9 @@
|
|
| 1 |
-
token: "
|
| 2 |
url: "https://lichess.org/" # Lichess base URL.
|
| 3 |
|
| 4 |
-
engine: # Engine settings.
|
| 5 |
-
|
|
|
|
| 6 |
debug: False # When enabled, log all startup communication with the engine.
|
| 7 |
# interpreter: "java"
|
| 8 |
# interpreter_options:
|
|
@@ -96,14 +97,14 @@ engine: # Engine settings. # Directory
|
|
| 96 |
|
| 97 |
uci_options: # Arbitrary UCI options passed to the engine.
|
| 98 |
Move Overhead: 100 # Increase if your bot flags games too often.
|
| 99 |
-
Threads:
|
| 100 |
-
Hash:
|
| 101 |
SyzygyPath: "./syzygy/" # Paths to Syzygy endgame tablebases that the engine reads.
|
| 102 |
UCI_ShowWDL: true # Show the chance of the engine winning.
|
| 103 |
-
|
| 104 |
-
# nodes:
|
| 105 |
-
# depth:
|
| 106 |
-
|
| 107 |
|
| 108 |
# xboard_options: # Arbitrary XBoard options passed to the engine.
|
| 109 |
# cores: "4"
|
|
@@ -137,6 +138,7 @@ challenge: # Incoming challenges.
|
|
| 137 |
sort_by: "best" # Possible values: "best" and "first".
|
| 138 |
preference: "none" # Possible values: "none", "human", "bot".
|
| 139 |
accept_bot: true # Accepts challenges coming from other bots.
|
|
|
|
| 140 |
only_bot: false # Accept challenges by bots only.
|
| 141 |
max_increment: 20 # Maximum amount of increment to accept a challenge in seconds. The max is 180. Set to 0 for no increment.
|
| 142 |
min_increment: 0 # Minimum amount of increment to accept a challenge in seconds.
|
|
@@ -178,7 +180,7 @@ challenge: # Incoming challenges.
|
|
| 178 |
# min_rating: 0 # Minimum rating of the challenger to accept a challenge.
|
| 179 |
# max_rating: 4000 # Maximum rating of the challenger to accept a challenge. The maximum rating in lichess is 4000.
|
| 180 |
# rating_difference: 300 # Maximum rating difference between the bot and the challenger. Overrides min_rating and max_rating if set.
|
| 181 |
-
bullet_requires_increment:
|
| 182 |
max_simultaneous_games_per_user: 5 # Maximum number of simultaneous games with the same user
|
| 183 |
|
| 184 |
greeting:
|
|
@@ -186,9 +188,9 @@ greeting:
|
|
| 186 |
# {opponent} to insert opponent's name
|
| 187 |
# {me} to insert bot's name
|
| 188 |
# Any other words in curly braces will be removed.
|
| 189 |
-
hello: "Hi! I'm {me}.
|
| 190 |
-
goodbye: "Good game!" # Message to send to opponent chat at the end of a game
|
| 191 |
-
hello_spectators: "Hi! I'm {me}. Type !help for a list of commands I can respond to." # Message to send to spectator chat at the start of a game
|
| 192 |
goodbye_spectators: "Thanks for watching!" # Message to send to spectator chat at the end of a game
|
| 193 |
|
| 194 |
# pgn_directory: "game_records" # A directory where PGN-format records of the bot's games are kept
|
|
|
|
| 1 |
+
token: "lip_zj3Hu5C2Z0ZKsKz3UUzZ" # Lichess OAuth2 Token.
|
| 2 |
url: "https://lichess.org/" # Lichess base URL.
|
| 3 |
|
| 4 |
+
engine: # Engine settings.
|
| 5 |
+
dir: "./engines/stockfish" # Directory containing the engine. This can be an absolute path or one relative to lichess-bot/.
|
| 6 |
+
name: "stockfish-ubuntu-x86-64-avx2" # Binary name of the engine to use.
|
| 7 |
debug: False # When enabled, log all startup communication with the engine.
|
| 8 |
# interpreter: "java"
|
| 9 |
# interpreter_options:
|
|
|
|
| 97 |
|
| 98 |
uci_options: # Arbitrary UCI options passed to the engine.
|
| 99 |
Move Overhead: 100 # Increase if your bot flags games too often.
|
| 100 |
+
Threads: 2 # Max CPU threads the engine can use.
|
| 101 |
+
Hash: 256 # Max memory (in megabytes) the engine can allocate.
|
| 102 |
SyzygyPath: "./syzygy/" # Paths to Syzygy endgame tablebases that the engine reads.
|
| 103 |
UCI_ShowWDL: true # Show the chance of the engine winning.
|
| 104 |
+
go_commands: # Additional options to pass to the UCI go command.
|
| 105 |
+
# nodes: 150000 # Search so many nodes only.
|
| 106 |
+
# depth: 10 # Search depth ply only.
|
| 107 |
+
movetime: 3000 # Integer. Search exactly movetime milliseconds.
|
| 108 |
|
| 109 |
# xboard_options: # Arbitrary XBoard options passed to the engine.
|
| 110 |
# cores: "4"
|
|
|
|
| 138 |
sort_by: "best" # Possible values: "best" and "first".
|
| 139 |
preference: "none" # Possible values: "none", "human", "bot".
|
| 140 |
accept_bot: true # Accepts challenges coming from other bots.
|
| 141 |
+
accept_human: true
|
| 142 |
only_bot: false # Accept challenges by bots only.
|
| 143 |
max_increment: 20 # Maximum amount of increment to accept a challenge in seconds. The max is 180. Set to 0 for no increment.
|
| 144 |
min_increment: 0 # Minimum amount of increment to accept a challenge in seconds.
|
|
|
|
| 180 |
# min_rating: 0 # Minimum rating of the challenger to accept a challenge.
|
| 181 |
# max_rating: 4000 # Maximum rating of the challenger to accept a challenge. The maximum rating in lichess is 4000.
|
| 182 |
# rating_difference: 300 # Maximum rating difference between the bot and the challenger. Overrides min_rating and max_rating if set.
|
| 183 |
+
bullet_requires_increment: true # Require that bullet game challenges from bots have a non-zero increment
|
| 184 |
max_simultaneous_games_per_user: 5 # Maximum number of simultaneous games with the same user
|
| 185 |
|
| 186 |
greeting:
|
|
|
|
| 188 |
# {opponent} to insert opponent's name
|
| 189 |
# {me} to insert bot's name
|
| 190 |
# Any other words in curly braces will be removed.
|
| 191 |
+
hello: "Hi! I'm {me}. I am a very excited chess engine, though it can take some time to move." # Message to send to opponent chat at the start of a game
|
| 192 |
+
goodbye: "Good game! See you next time!" # Message to send to opponent chat at the end of a game
|
| 193 |
+
hello_spectators: "Hi! I'm {me}. Hi spectators! Type !help for a list of commands I can respond to." # Message to send to spectator chat at the start of a game
|
| 194 |
goodbye_spectators: "Thanks for watching!" # Message to send to spectator chat at the end of a game
|
| 195 |
|
| 196 |
# pgn_directory: "game_records" # A directory where PGN-format records of the bot's games are kept
|