A simple lichess.org chess bot implementing the Stockfish 11 chess engine in a Node.js environment. The bot is accepting blitz and rapid challenges and is capable of independently challenging other bots.
- Install dependencies with
npm install
- Update the
config.js
file with your API key and the lowercase (!) player name of the bot - Run
npm start
- If
CHALLANGE_RANDOM_BOTS
is set totrue
, the bot will regularly fetch online bots and challenge a random bot. The online bots are cached in thebots.json
file. - Received chat messages will be logged in the
chat.txt
file. - The engine depth may be adjusted using the
ENGINE_DEPTH
config variable. - The maximum number of simultaneous games can be set with the
MAX_ACTIVE_GAMES
config variable.
The lichess bot BufferUnderflow achieved a Blitz rating of 2200 and a Rapid rating of 2500