franciscoBSalgueiro / en-croissant

The Ultimate Chess Toolkit
https://encroissant.org
GNU General Public License v3.0
639 stars 78 forks source link

Local puzzle databases #47

Open franciscoBSalgueiro opened 1 year ago

franciscoBSalgueiro commented 1 year ago

I would like to implement this, however I can't find any standard way of representing puzzles.

I made the lichess puzzle db with a small script to convert from the specific format used by the lichess database to the SQL format accepted by en croissant.

@dav1312

dav1312 commented 1 year ago

You could accept csv files with a format similar or equal to Lichess, pgn files, and/or epd files Epd files are pretty popular for positions with a single move solution, not a sequence of moves. e.g. rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - bm e4 d4; am g4; For csv or pgn files, maybe the program should also know (ask the user) if the first move in the sequence is the solution or a move played by the opponent.

derkaczda commented 4 months ago

Hello, any updates on this topic? It would be really awesome to have this feature.