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.jsfile with your API key and the lowercase (!) player name of the bot - Run
npm start
- If
CHALLANGE_RANDOM_BOTSis set totrue, the bot will regularly fetch online bots and challenge a random bot. The online bots are cached in thebots.jsonfile. - Received chat messages will be logged in the
chat.txtfile. - The engine depth may be adjusted using the
ENGINE_DEPTHconfig variable. - The maximum number of simultaneous games can be set with the
MAX_ACTIVE_GAMESconfig variable.
The lichess bot BufferUnderflow achieved a Blitz rating of 2200 and a Rapid rating of 2500