Coder Social home page Coder Social logo

Variants about botli HOT 14 CLOSED

torom avatar torom commented on June 11, 2024
Variants

from botli.

Comments (14)

FatFritz2 avatar FatFritz2 commented on June 11, 2024 1

here is my config.yml

token: "XXXXXXXXXXXXXXXXXXXXXXXX"         # Lichess OAuth2 Token.

engine:                                   # Engine settings.
  dir: "./engines"                        # Directory containing the engine.
  name: "Stockfish.exe"                   # Binary name of the engine to use.
  variantname: "Fairy-Stockfish.exe"
  ponder: true                            # Think on opponent's time.
  opening_books:
    enabled: true                         # Activate opening books.
    books:
#     white:                              # List of names of books to use as white.
#       - "WhiteBook"
#     black:                              # List of names of books to use as black.
#       - "BlackBook"
      standard:                           # List of names of books to use if there is no specific book for white, black or chess960.
        - "Perfect2021.bin"
        - "bestbook.bin"
        - "komodo.bin"
        - "Drawkiller_EloZoom_big.bin"
        - "tcec.bin"
        - "perfect1.bin"
#     chess960:                           # List of names of books to use for Chess960.
#       - "Chess960Book"
    selection: "best_move"                # Move selection is one of "weighted_random", "uniform_random" or "best_move".
#   max_depth: 30                         # Half move max depth. (Comment this line for max depth)
  online_moves:
    chessdb:
      enabled: true                       # Activate online moves from https://chessdb.cn/queryc_en/
      min_eval_depth: 25                  # Minimum evaluation depth. Only for selection: "best".
      min_time: 30                        # Time the bot must have at least to use the online move.
      timeout: 5                          # Time the server has to respond.
      selection: "best"                   # Move selection is one of "best", "good" or "all".
#     max_depth: 60                       # Half move max depth. (Comment this line for max depth)
    lichess_cloud:
      enabled: true                       # Activate online moves from Lichess cloud eval.
      min_eval_depth: 25                  # Minimum evaluation depth.
      min_time: 30                        # Time the bot must have at least to use the online move.
      timeout: 5                          # Time the server has to respond.
#     max_depth: 25                       # Half move max depth. (Comment this line for max depth)
    online_egtb:
      enabled: true                       # Activate online endgame tablebases from Lichess.
      min_time: 15                        # Time the bot must have at least to use the online move.
      timeout: 3                          # Time the server has to respond.
  offer_draw:
    enabled: false                        # Activate whether the bot should offer draw.
    score: 5                              # If the absolute value of the score is less than or equal to this value, the bot offers/accepts draw (in cp)
    consecutive_moves: 10                 # How many moves in a row the absolute value of the score has to be below the draw value
    min_game_length: 50                   # Earliest move in which draw is offered.
  resign:
    enabled: false                        # Activate whether the bot should resign games.
    score: -1000                          # If the score is less than or equal to this value, the bot resigns (in cp).
    consecutive_moves: 5                  # How many moves in a row the score has to be below the resign value.
  uci_options:                            # Arbitrary UCI options passed to the engine. (Commenting allowed)
    Move Overhead: 100                    # Increase if your bot flags games too often.
    Threads: 8                            # Max CPU threads the engine can use.
    Hash: 2000                            # Max memory (in megabytes) the engine can allocate.
    Skill Level: 20
    UCI_Elo: 2850
    Slow Mover: 20
    SyzygyPath: "/path/to/syzygy"         # Path to your local syzygy endgame tablebases
    

move_overhead_multiplier: 1.0             # Increase if your bot flags games too often. Default move overhead is 1 second per 1 minute initital time.
    
challenge:                                # Incoming challenges. (Commenting allowed)
  concurrency: 1                          # Number of games to play simultaneously.
  bullet_with_increment_only: true        # Whether bullet games should be accepted with increment only.
# min_increment: 1                        # Minimum amount of increment to accept a challenge.
# max_increment: 180                      # Maximum amount of increment to accept a challenge.
# min_initial: 10                         # Minimum amount of initial time to accept a challenge.
# max_initial: 315360000                  # Maximum amount of initial time to accept a challenge.
  variants:                               # Chess variants to accept (https://lichess.org/variant).
    - standard
    - chess960
#   - fromPosition
    - antichess
    - atomic
    - crazyhouse
    - horde
    - kingOfTheHill
    - racingKings
    - threeCheck
  time_controls:                          # Time controls to accept.
    - bullet
    - blitz
    - rapid
    - classical
  bot_modes:                              # Game modes to accept against BOTs.
#   - casual                              # Unrated games.
    - rated                               # Rated games
  human_modes:                            # Game modes to accept against humans.
    - casual                              # Unrated games.
    - rated                               # Rated games

matchmaking:
  initial_time: 15                        # Initial time for matchmaking mode.
  increment: 1                            # Increment time for matchmaking mode.
  rated: true                             # Activate rated games in matchmaking mode.
  timeout: 30                             # Time until a challenge is canceled.
  variant: standard                       # Chess variant (https://lichess.org/variant) to challenge.
# min_rating_diff: 0                      # Minimum rating distance to opponent. (Commenting allowed)
# max_rating_diff: 300                    # Maximum rating distance to opponent. (Commenting allowed)
  delay: 10                               # Time in seconds the bot must be idle before a new challenge is started.

books:                                    # Names of the opening books (to be used above in the opening_books section) and paths to the opening books.
 Perfect2021.bin: "Perfect2021.bin"
 bestbook.bin: "bestbook.bin"
 komodo.bin: "komodo.bin"
 Drawkiller_EloZoom_big.bin: "Drawkiller_EloZoom_big.bin"
 tcec.bin: "tcec.bin"
 perfect1.bin: "perfect1.bin"

from botli.

Torom avatar Torom commented on June 11, 2024

Which variant is not supported?

from botli.

FatFritz2 avatar FatFritz2 commented on June 11, 2024

crazyhouse ,king of the hill, 3 check atomic antichess horde and racing kings

from botli.

Torom avatar Torom commented on June 11, 2024

Have you tested this? What are the error messages?

from botli.

FatFritz2 avatar FatFritz2 commented on June 11, 2024

image
what I have tried to play antichess with fairy-stockfish level 1

from botli.

Torom avatar Torom commented on June 11, 2024

The engine you are trying to use does not support the UCI option UCI_Variant you have to use an engine that can play these variants.

from botli.

FatFritz2 avatar FatFritz2 commented on June 11, 2024

I really don't know what happened, I add the VariantName there but it doesn't work

from botli.

Torom avatar Torom commented on June 11, 2024

variantname is not an option that BotLi knows. I don't know how you come up with that. BotLi supports one engine for all variants, if you want to use different variants, you have to use an engine that supports different variants.

from botli.

FatFritz2 avatar FatFritz2 commented on June 11, 2024

What engine I mean, because I just know Stockfish :(

from botli.

FatFritz2 avatar FatFritz2 commented on June 11, 2024

variantname is not an option that BotLi knows. I don't know how you come up with that. BotLi supports one engine for all variants, if you want to use different variants, you have to use an engine that supports different variants.

Can you rewrite the entire repo in order to make BotLi supports 'variantname' please (if possible?)

from botli.

Torom avatar Torom commented on June 11, 2024

Use Fairy-Stockfish

from botli.

FatFritz2 avatar FatFritz2 commented on June 11, 2024

I have tested it out but its strength isn't as good as sf 200622 :( how to make it stronger

from botli.

Torom avatar Torom commented on June 11, 2024

This is known: https://github.com/ianfab/Fairy-Stockfish/wiki/Playing-strength#chess

from botli.

Torom avatar Torom commented on June 11, 2024

BotLi now supports a second engine for Lichess variants.

from botli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.