Blinfold chess training program

Sort:
Louloufou63

Hey,

I wanted to program something that could say what move was played and then when I thinked I could say what move I want to play and the program plays it on chess.com (for example with a bot).

So that I could train to play blinfolded.

Do you know if something like that already exist ? and if not, do you know what api I can use to get and control my navigator (which can be anything, like opera or chrome) or even my chess com account to do so ?

Thank you.

beserker08

https://www.chess.com/variants/blindfold

Louloufou63

Thank you, I didn't know about this. However I would have prefered to listen to the moves so that I can close my eyes and focus on.

ninjaswat

This already exists on lichess, but I doubt chess.com api will allow you to control moves for your game. That opens too many things, and the api is a rest api that is updated every few hours at the most iirc

Martin_Stahl

Something like that might get flagged as not allowed. I know there was an extension that would read out the move made but there's nothing supported that you can verbally give moves to be made.

GM_Salzi

You could capture the chessboard on your screen with pyautogui every second or something like this. Then you have to take a screenshot of the pieces on a light and a dark square. Now you can match the screenshots with the actual board, and every time something changes, you can read out the move. Python has a library for chess called chess, which could probably be helpful.

Another option would be to read the moves from the right side of the board.

For the input you can move and click with your mouse using pyautogui.

I hope this is helpful. Feel free to dm me and please uptade me about the project. I think that would be very helpful for my training.

Louloufou63

Thank you all for your responses !

Louloufou63

I found a way to do it, if you're interested you can dm me.