An html version of queencapturedelayed.cql
; queencapturedelayed.cql can be downloaded here.
;; This is an example of the full WCCT 6 theme.
;; It finds studies that contains a position
;; such that from that position White moves the King to an empty square rather than capturing a queen, which
;; the King instead captures on the next move.
(match
:pgn heijden.pgn
:output out.pgn
(position
:wtm
:moveto .
qb2
:attackcount a ab2 0
:attackcount K ab2 1
:sequence ((position :movefrom K)
(position :attackcount a ab2 0)
)
:shift
:markall)
)