This Engine will tell you best moves when you play on https://chess.com it requires an dummy account that can spectate your match on chess.com
in url.txt you have to put the url of your chess game example -
https://www.chess.com/game/live/id
in credentials.txt you need to put your dummy account's username and password, username has to be in first line and password has to be in second line example -
username
password
for the engine to read your moves on chess.com you have to disable animations in https://www.chess.com/settings/board
for your dummy account
Set the Animation Type in the dropdown to None
when you run the engine binary it opens a chromium window you have to keep that in focus for the engine to get your latest moves and calculate them
it logs into chess.com with the dummy account and goes to your match url and gets the moves you play in real time and feeds them to the engine which calculates the best moves.
you have to set const debug = true in main.js and install the dependencies and run using npm start, depending on linux or windows it will use the appropriate stockfish binary and it will start the puppeteer. remember to put url in url.txt and credentials in credentials.txt
TODO
TODO
this project uses nexe for packing javascript and node binaries into exe you can go into javascript directory and run linux_build.sh for linux build or win_build.sh for windows build