forked from TheYoBots/Lishogi-Bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml.default
77 lines (72 loc) · 5.56 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
75
76
77
token: "xxxxxxxxxxxxxxxxxxxxxxxx" # Lishogi OAuth Token.
url: "https://lishogi.org/" # Lishogi base URL.
engine: # Engine Settings.
dir: "./engines/" # Directory containing the engine. This can be an absolute path or one relative to Lishogi-Bot/.
name: "engine_name" # Binary name of the engine to use. Make sure the engine you use is running under the USI protocol.
working_dir: "" # Directory where the chess engine will read and write files. If blank or missing, the current directory is used.
protocol: "usi" # Protocol that engine is run under. Only "usi" is supported currently.
ponder: true # Think on opponent's time.
online_moves:
lishogi_cloud_analysis:
enabled: false
min_time: 20
move_quality: "best" # One of "good", "best"
max_score_difference: 50 # Only for move_quality: "good". The maximum score difference (in cp) between the best move and the other moves.
min_depth: 20
min_knodes: 0
# engine_options: # Any custom command line params to pass to the engine.
# cpuct: 3.1
# homemade_options:
# Hash: 256
usi_options: # Arbitrary USI options passed to the engine.
# Move Overhead: 500 # Increase if your bot flags games too often.
Threads: 1 # Max CPU threads the engine can use.
# USI_Hash: 256 # Max memory (in megabytes) the engine can allocate.
# go_commands: # Additional options to pass to the USI go command.
# nodes: 1 # Search so many nodes only.
# depth: 5 # Search depth ply only.
# movetime: 1000 # Integer. Search exactly movetime milliseconds.
silence_stderr: false # Some engines are very noisy.
abort_time: 30 # Time in seconds after which the engine will abort the game if there is no activity.
fake_think_time: false # Artificially slow down the bot to pretend like it's thinking.
rate_limiting_delay: 0 # Time (in ms) to delay after sending a move to prevent "Too Many Requests" errors.
move_overhead: 1900 # Increase if your bot flags games too often.
correspondence:
move_time: 60 # Time in seconds to search in correspondence games.
checkin_period: 600 # How often to check for opponent moves in correspondence games after disconnecting.
disconnect_time: 150 # Time before disconnecting from a correspondence game.
ponder: false # ponder in correspondence games the bot is connected to
challenge: # Incoming challenges.
concurrency: 1 # Number of games to play simultaneously.
sort_by: "best" # Possible values here are "best" and "first".
accept_bot: true # Accepts challenges coming from other bots. Setting this to "true" will allow games from both human and bot, but setting it to false will allow games only from human.
only_bot: false # Enable this to accept challenges only from bots. This will disable accepting challenges from human.
max_increment: 20 # Maximum amount of increment to accept a challenge. The max is 180. Set to 0 for no increment.
min_increment: 0 # Minimum amount of increment to accept a challenge.
max_byoyomi: 30 # Maximum amount of increment to accept a challenge. The max is 180. Set to 0 for no byoyomi.
min_byoyomi: 0 # Minimum amount of increment to accept a challenge.
max_base: 1800 # Maximum amount of base time to accept a challenge. The max is 315360000 (10 years).
min_base: 0 # Minimum amount of base time to accept a challenge.
variants: # Shogi variants to accept (https://lishogi.org/variant).
- standard
# - minishogi
# - chushogi
# - annanshogi
# - kyotoshogi
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.
greeting:
# Optional substitution keywords (include curly braces):
# {opponent} to insert opponent's name.
# {me} to insert bot's name.
# Any other words in curly braces will be removed.
hello: "Hi! I'm {me}. Good luck! Type !help for a list of commands I can respond to." # Message to send to chat at the start of a game.
goodbye: "Good game!" # Message to send to chat at the end of a game.