allsamecolor.cql

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

//all the pieces (at least 10) are on the same color square.
//sorted by the number of pieces

cql(input hhdbvi.pgn)
   light  == 
  sort 10