A JavaScript-based chess bot for Chess.com that suggests moves for you while you play using the Stockfish engine.
The userscript.js contains the userscript to be ran using an userscript manager like Tampermonkey or Violentmonkey. The index.js file contains the server and is supposed to be ran using NodeJS.
- Clone the repository
- Install the dependencies
- Create the 'engine' directory, add the stockfish executable from https://stockfishchess.org/download/ (other UCI engines should work, although not tested) to it and rename it to 'engine.exe'
- Add the userscript.js to your userscript manager
- Run the index.js file with NodeJS
- Suggests 3 different moves
- Customizable depth
- Uses the Stockfish engine
- Uses a websocket to transfer data between the browser end (userscript) and the server end (NodeJS script)
- Clean up the code
- Fix bugs
- Add a config system for easy configuration of depth etc without needing to edit the code
- Add support for other chess websites, such as Lichess.org
- Add support for the variants on Chess.com
This project is licensed under the GPLv3 license. See the LICENSE file for details.