consecutive-checks.cql

// Download consecutive-checks.cql
// PGN output when run on sample.pgn

/********
Find games with at least 5 consecutive checks,
sorted by the number of consecutive checks
**********/

cql(input hhdbvi.pgn)
sort "number of consecutive checks"
   nestban
     check{5,}