tmountain / uchess

♛♔ Play chess against UCI engines in your terminal.
MIT License
64 stars 7 forks source link

Automatically save PGN in engine v. engine game. #5

Open trumptonshire opened 2 years ago

trumptonshire commented 2 years ago

Request uchess feature to permit automatic saving of PGN output in engine v. engine games, similar to that of cutechess-cli.

For example: .\cutechess-cli -tournament gauntlet -concurrency 1 -pgnout lc0-stockfish-1.pgn -engine conf=lc0 -engine conf=stockfish -each proto=uci ponder tc=10+1 -openings file=openings-6ply-1000.pgn -repeat -recover -rounds 100 -games 2 | tee ./lc0-stockfish-1.txt

During a engine v engine game, it is currently not possible to enter any commands into the interactive shell. Only pressing ENTER for the next move is permitted.

tmountain commented 2 years ago

This request makes sense. Would the ability to simple run the "save" command during engine v. engine games satisfy the use case?

trumptonshire commented 2 years ago

Yes please! Being able to save during an engine v engine game, either within the UI or from a command line parameter would be great!

tmountain commented 2 years ago

Cool, got it. I'll see about adding these changes during the next arc of work on this project.