Skip to content

Latest commit

 

History

History
32 lines (27 loc) · 2.23 KB

README.md

File metadata and controls

32 lines (27 loc) · 2.23 KB

libot-lb

Based on lightningbolts/Lichess-Bot-Leaderboards

A leaderboard for all Lichess Bots. It checks for list of online bots using Lichess' Bot API and creates a list (available_bots.txt). Everytime it runs this list is checked to see if any online bots aren't in it and if they aren't, those bots are added to the list. Once that's done, using Lichess' API, the bots public data is taken to get the bots rating. This data is converted into json format and then each of the rules are checked (This will take a while!) and is then sorted based on rating in each game type (or variant).

Check it out here: https://lb.chessnibble.com/

Generating Leaderboard

  1. Set Environment Secret:

Get a Token from lichess (No scopes required) and execute the following command: 2. Install dependencies:

pip install -r requirements.txt
  1. Execute python script:
python3 bot_leaderboard.py <your_token>

Rules

  1. Your Bot must not be named in the Banned Bots List for any of the following reasons:
    • For "farming" weaker opponents/Bots.
    • For playing only against human opponents with your Bot.
    • For playing too often against other Bots that you own/operate (or "siblings").
    • Or any other reason for which your Bot is listed in this Lichess Team.
  2. Your Bot must have played at least 1 rated game in the week in that respective Variant/Game type.
  3. Your Bot must not have Provisional Rating (with a ?) in that respective Variant/Game type.
  4. Your Bot must not have a mark that indicates violation of Lichess' Terms of Service.
  5. Your Bot must have played at least 50 rated games in that respective Variant/Game type.
  6. Your Bot must have a rating deviation lower than 75, in Standard Chess, and lower than 65 in Variants.