Skip to content

finding next best move using python and opencv for lichess.org

Notifications You must be signed in to change notification settings

ZakyHermawan/python-chess_solver

Repository files navigation

python-chess_solver

finding next best move for using python and opencv

How to use this app

  1. Clone this repository
  2. Create virtual environment
  3. Install all dependency from requirements.txt
  4. Download stockfish engine from here
  5. Adjust stockfish path in master_window.py (inside get_best_move function)
  6. Run main.py

Make sure, while taking screenshot, the chessboard is on the screen

Below is an example on how to take the screenshot screenshot example

TODO:

  • Construct FEN String from image
  • Puzzle solver work for white
  • Puzzle solver work for black
  • Create simple GUI for user setting / main menu
  • Move all logic to GUI
  • Take screenshot from GUI
  • Get best move from GUI
  • Dynamic update condition via GUI
  • Solve puzzle without restart application

Feel free to contribute

About

finding next best move using python and opencv for lichess.org

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages