mcostalba / scoutfish

Chess Query Engine
GNU General Public License v3.0
156 stars 23 forks source link

Add support for moved-piece and captured-piece #27

Closed mcostalba closed 7 years ago

mcostalba commented 7 years ago

Something like

{ 'moved': 'BN', 'captured': 'R' }

To detect all the bishop and knight captures of an opponent rook

{ 'moved': 'K', 'captured': '', stm='BLACK' }

To detect quite moves of black king (you may want to make it part of a bigger query or of a streak).

mcostalba commented 7 years ago

Done.