forced-moves-both-sides.cql

// Download forced-moves-both-sides.cql
// PGN output when run on sample.pgn

/*********
Find games with the longest sequence of consecutive forced moves
*********/

cql(input heijden.pgn)
sort "most forced moves"
 line 3 1000  nestban
    -->move legal count == 1 *