Skip to content

Commit

Permalink
Add matchmaking configuration to lichess-bot
Browse files Browse the repository at this point in the history
  • Loading branch information
bsamseth committed Sep 21, 2024
1 parent d7d2424 commit 2b916bb
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions lichess-bot/lichess-config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
url: "https://lichess.org/" # lichess base URL

engine: # engine settings
dir: "../../build/" # dir containing engines, relative to this project
name: "goldfish.x" # binary name of the engine to use
dir: "../../target/release-lto/" # dir containing engines, relative to this project
name: "goldfish" # binary name of the engine to use
protocol: "uci" # "uci" or "xboard"
polyglot:
enabled: true # activate polyglot book
Expand All @@ -21,7 +21,7 @@ fake_think_time: false # artificially slow down the bot to pretend like it's thi

challenge: # incoming challenges
concurrency: 2 # number of games to play simultaneously
sort_by: "best" # possible values: "best", "first"
sort_by: "first" # possible values: "best", "first"
accept_bot: true # accepts challenges coming from other bots
variants: # chess variants to accept (http://lichess.org/variant)
- standard
Expand All @@ -35,3 +35,20 @@ challenge: # incoming challenges
modes: # game modes to accept
- casual # unrated games
- rated # rated games - must comment if the engine doesn't try to win

matchmaking: # outgoing challenges
allow_matchmaking: true
challenge_variant: "random"
challenge_initial_time:
- 60
- 180
- 600
challenge_increment:
- 0
- 1
- 3
challenge_mode: "rated"
challenge_filter: "fine"
opponent_rating_difference: 200
opponent_allow_tos_violation: false
allow_during_games: true

0 comments on commit 2b916bb

Please sign in to comment.