An html version of RamblingRook.cql;

Created by Gady Costeff and Lewis Stiller.

CQL 5.1
; A white rook keeps checking next to a black king cql (input heijden.pgn result 1/2-1/2) not previous (any move from k move from R) sort "length of ramble" next 6 1000 ( (move from R to . {check attacks (k R) move from k to .}) + )
CQL 3.2
; Multiple consecutive rook checks followed by king moving to empty square; usually to avoid stalemate if rook is captured. Also called Rampant Rook. (match :pgn heijden.pgn :output ramblingrook.pgn :result 1/2 (position :wtm :sequence( (position :movefrom R :moveto .) (position :movefrom k :check) (position :movefrom R :moveto .) (position :movefrom k :check) (position :movefrom R :moveto .) (position :movefrom k :check) (position :movefrom R :moveto .) (position :movefrom k :check) (position :movefrom R :moveto .) (position :movefrom k :check))))
After executing this with "> cql RamblingRook.cql" there are 771 studies found in the Harold van der Heijden Database 2015.
NB. When you see {MATCH} in the text, it means that cql has found the position asked for.


Below only 5 studies are presented: