/Chess

Primary LanguagePython

Chess bot - Only for example inside UiPath!!!

This work flow is a demo shows how the RPA would be able to interact with online games

Note: only for study purpose, if you using it play chess, you will broke the user agreement with chess.com

This work flow is using Stockfish engine

Setup Option 1, without Python:

  1. download uipath community version from https://www.uipath.com/start-trial
  2. download stockfish engine from https://stockfishchess.org/
  3. open workflow Main_StdIO, modify In_EnginePath to the folder of your engine
  4. open chess.com, login, start play, if play mode, change parameter In_PlayMode as true, false for puszzles
  5. run workflow from Main_StdIO

Setup Option 2: with Python

  1. download uipath community version from https://www.uipath.com/start-trial
  2. download stockfish engine from https://stockfishchess.org/
  3. modify engine.py, update the path of stockfish
  4. get ready python 3.6, pip install python-chess
  5. run engine.py to verify step 1-3
  6. open workflow Main, modify In_Python_Path to the folder of your python
  7. open chess.com, login, start play, if play mode, change parameter In_PlayMode as true, false for puszzles
  8. run workflow from Main

Please be aware, your account and IP might be banned if keep playing for long.

TODO:

  1. 2nd engine for Alpha-zero-chess in AI Fabric
  2. Random delays to mimic human behavior
  3. Support https://www.chess.com/play/computer which has totally diffrent selectors