-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make a lichess port #16
Comments
Btw I tried to code it but their system is so drastically different. Couldn't make selection work and couldn't make detect move work. I tried something like this but it doesn't work
|
@IOKernel Some reference can be found here https://github.com/wtfseanscool/lichess-autoplay/blob/main/lichess_autoplay.py |
Also keep in mind board rotation as it flips the values completely. Also keep in mind size of the board as that also flips the numbers completely. Yeah it will be slightly harder than chess.com that positions the highlighting automatically when injected |
It would be easier to make a computer vision python script instead that detects the board and chess pieces, which will work on all chess websites. But I decided to do the chess.com one with selenium to learn the framework |
He added arrow drawing. This is probably the best way so you don't have to screw around with the pixel values changing on resize. He already has all the XPATH logic too so if you wanted you could add some kind of parameter to switch between chess.com and lichess.org. I would still prefer having both under one umbrella. Also it would be nice to have separate credentials in that case. |
Would be nice to have this for lichess too
The text was updated successfully, but these errors were encountered: