An html version of mzz5.cql
; mzz5.cql can be downloaded here.
; This locates all mutual zugzwang studies with exactly 5 pieces and at most one pawn
; This may not get all "true" mutual zugwang position. Rather, it gets you all the studies
; in which same position occurs, both with black and with white to move, but the white to move position
; occurs in the variation and the black to move position occurs in the main line.
(match
:pgn heijden.pgn
:output out.pgn
(position
:piececount U 5 ;; 5 pieces
:piececount [Pp] 0 1 ;; 0 or 1 pawns
:btm
:relation (
:variationsonly
:changesidetomove)
)
)