forked from lichess-bot-devs/lichess-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml.default
74 lines (71 loc) · 3.44 KB
/
config.yml.default
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
token: "xxxxxxxxxxxxxxxx" # lichess OAuth2 Token
url: "https://lichess.org/" # lichess base URL
engine: # engine settings
dir: "./engines/" # dir containing engines, relative to this project
name: "engine_name" # binary name of the engine to use
protocol: "uci" # "uci" or "xboard"
uci_ponder: true # think on opponent time; only works if "protocol" is "uci"
polyglot:
enabled: false # activate polyglot book
book:
standard: "engines/book.bin" # book file path of standard chess
# atomic: "atomic book path"
# giveaway: "antichess book path"
# crazyhouse: "crazyhouse book path"
# horde: "horde book path"
# kingofthehill: "kingOfTheHill book path"
# racingkings: "racingKings book path"
# 3check: "threeCheck book path"
min_weight: 1 # selects move with highest weight but not below this value
selection: "weighted_random" # move slection is one of "weighted_random", "uniform_random" or "best_move" (but not below the min_weight in 2. and 3. case)
max_depth: 8 # half move max depth
# engine_options: # any custom command line params to pass to the engine
# cpuct: 3.1
uci_options: # arbitrary UCI options passed to the engine
Move Overhead: 100 # increase if your bot flags games too often
Ponder: true
Threads: 2 # max CPU threads the engine can use
Hash: 256 # max memory (in megabytes) the engine can allocate
# go_commands: # additional options to pass to the UCI go command
# nodes: 1 # Search so many nodes only.
# depth: 5 # Search depth ply only.
# movetime: 1000 # Integer. Search exactly movetime milliseconds.
# xboard_options: # arbitrary xboard options passed to the engine
# cores: "4"
# memory: "4096"
# egtpath: # dir containing egtb, relative to this project
# gaviota: "Gaviota path"
# nalimov: "Nalimov Path"
# scorpio: "Scorpio Path"
# syzygy: "Syzygy Path"
silence_stderr: false # some engines (yes you, leela) are very noisy
abort_time: 20 # time to abort a game in seconds when there is no activity
fake_think_time: false # artificially slow down the bot to pretend like it's thinking
move_overhead: 2000 # increase if your bot flags games too often
challenge: # incoming challenges
concurrency: 1 # number of games to play simultaneously
sort_by: "best" # possible values: "best", "first"
accept_bot: false # accepts challenges coming from other bots
max_increment: 180 # maximum amount of increment to accaept a challenge. the max is 180. set to 0 for no increment
min_increment: 0 # minimum amount of increment to accept a challenge
variants: # chess variants to accept (http://lichess.org/variant)
- standard
# - fromPosition
# - antichess
# - atomic
# - chess960
# - crazyhouse
# - horde
# - kingOfTheHill
# - racingKings
# - threeCheck
time_controls: # time controls to accept
# - ultraBullet
- bullet
- blitz
- rapid
# - classical
# - correspondence
modes: # game modes to accept
- casual # unrated games
- rated # rated games - must comment if the engine doesn't try to win