checkcheckcheckstalemate.cql

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

//three checks followed by a stalemating move
cql(input hhdbvi.pgn)
   check
    check
    check
    stalemate