chessIO icon indicating copy to clipboard operation
chessIO copied to clipboard

Recognise castling represented in UCI as e.g. e1h1 instead of e1g1

Open UnkindPartition opened this issue 5 months ago • 0 comments
trafficstars

Hi Mario, thank you for this nice library. I've gotten some good use out of it.

This small PR fixes an issue I ran into when interacting with Lichess API — it represents castling Chess960-style, as e1h1 instead of e1g1. So I've added a bit of code to recognise that notation as well.

UnkindPartition avatar Jun 08 '25 15:06 UnkindPartition