Skip to content

python-chess v0.31.1

Compare
Choose a tag to compare
@niklasf niklasf released this 05 May 15:46
· 699 commits to master since this release
v0.31.1
Bugfixes:

* `RacingKingsBoard.is_variant_win()` no longer incorrectly returns `True`
  for drawn positions.
* Multiple moves for EPD opcodes *am* and *bm* are now sorted as required by
  the specification.
* Coordinates of SVG boards are now properly aligned, even when rendered as
  SVG Tiny.

Changes:

* SVG boards now have a background color for the coordinate margin, making
  coordinates readable on dark backgrounds.
* Added *[Variant "Illegal"]* as an alias for standard chess
  (used by Chessbase).

Features:

* Added `Board.find_move()`, useful for finding moves that match human input.