rundlaufe.cql

// Download rundlaufe.cql
// PGN output when run on sample.pgn

/* from rundlaufe in cql-examples
   This has been modified to allow
   gaps in the rundlaufe, as there should be
*/   

cql(input hhdbvi.pgn result 1-0 quiet)
◭T∊△
 sort "length of Rundlaufe"
   ⊢◎T piecepath nestban
     ――~pathstart:T∩□ {20,}
     ――pathstart:T∩□