maxqueenattack.cql

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

// A queen attacks the maximum possible number of squares
cql()
square queen in [Qq]
 . attackedby queen == 27