8piecesinline.cql

// Download 8piecesinline.cql
// PGN output when run on sample.pgn

/* 8 pieces are in the same rank, file or diagonal */
cql(input hhdbvi.pgn)
x y 
 between(x y)==6