quadrupled-pawns.cql
// Download quadrupled-pawns.cql// PGN output when run on sample.pgn
/********* Find games with quadrupled pawns. This is a direct translation of code from the CQL version 3 using 'flip' and 'shift' . **********/ cql(input hhdbvi.pgn) ⬓ shifthorizontal ♙b2-7≥4