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 heijden.pgn)
 flipcolor
   shifthorizontal
     P[b2-7]>=4