most-king-moves.cql

// Download most-king-moves.cql
// PGN output when run on sample.pgn

/*******
Find games with at least 20 black king moves, sorted by the number of such moves
**********/

cql (input hhdbvi.pgn 
 sort  matchcount 20 1000)