An html version of smotheredmate.cql

; smotheredmate.cql can be downloaded here.
;;This looks for black smothered mates on the edge or on the center of the board
(match
 :pgn heijden.pgn
 :output out.pgn
 (position
  :mate :btm
  :attackcount k a 5 8
  :attackcount k [A.] 0
 )
)