karayaman / Play-online-chess-with-real-chess-board

Program that enables you to play online chess using real chess boards.
GNU General Public License v3.0
331 stars 25 forks source link

Write PGNs? #10

Closed kyleboddy closed 2 years ago

kyleboddy commented 2 years ago

Can this app simply write to PGN instead of playing online?

karayaman commented 2 years ago

Hello, it can't do that in a simple way. However, you can record your over the board games by enabling "Make moves of opponent too." option in the GUI. You can check this video to see how this option works Test of automatic recording of DGT Centaur games The chess GUI you are using probably has the option to export PGN.

kyleboddy commented 2 years ago

Basically I'd like to play against no opponent - the Analysis Board being recognized as a game would be helpful, so I can just play OTB with a friend and all the moves get mirrored on lichess and then save to PGN rather than play someone on lichess. I can simulate this by making two accounts and just playing the moves using the "Make moves of opponent too" and playing a game but that's somewhat cumbersome.

I'll look at the source code and see if the API can make moves on the Analysis board too.