Skip to content

python-chess v1.3.3

Compare
Choose a tag to compare
@niklasf niklasf released this 27 Dec 14:26
· 502 commits to master since this release
v1.3.3
Bugfixes:

* Fixed unintended collisions and optimized ``chess.Piece.__hash__()``.
* Fixed false-positive ``chess.STATUS_IMPOSSIBLE_CHECK`` if checkers are
  aligned with other king.

Changes:

* Also detect ``chess.STATUS_IMPOSSIBLE_CHECK`` if checker is aligned with
  en passant square and king.

New features:

* Implemented Lichess winning chance model for ``chess.engine.Score``:
  ``score.wdl(model="lichess")``.