Zhelyabuzhsky Stockfish Versions Save

Integrates the Stockfish chess engine with Python

3.28.0

1 year ago

What's Changed

Full Changelog: https://github.com/zhelyabuzhsky/stockfish/compare/3.27.0...3.28.0

3.27.0

1 year ago

What's Changed

Full Changelog: https://github.com/zhelyabuzhsky/stockfish/compare/3.26.0...3.27.0

3.26.0

1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/zhelyabuzhsky/stockfish/compare/3.25.2...3.26.0

3.25.2

1 year ago

What's Changed

  • Discarded any remaining _stockfish.stdout lines, if a function is done reading but some lines are left over. Prevented the wdl bug mentioned in issue #92.
  • Got rid of '-' chars in the major version, in case there are any.
  • Updated the readme with some explanations in the parameters and major version sections.

Great work by @johndoknjas in https://github.com/zhelyabuzhsky/stockfish/pull/93

Full Changelog: https://github.com/zhelyabuzhsky/stockfish/compare/3.24.0...3.25.2

3.24.0

2 years ago

What's Changed

  • Added the function that says whether a move will be a direct capture, en passant, or not a capture.
  • Added the function that says what's on a given square.
  • Added the function allowing the user to update the engine parameters, on an already created Stockfish instance.
  • If the user wants to set the elo rating/skill level to a certain value (in a call to either the constructor or the update function above), then also set UCI_LimitStrength to be true/false respectively.
  • If the user updates the engine parameters, call the set_position() function again.
  • Got rid of some unneeded code for WDL stuff.
  • Updated a few default parameters to match with the current stockfish defaults.
  • Modified the test_get_evaluation_cp function.
  • Updated a few tests to get them to pass with SF 15.
  • Used the position mentioned in issue #65 to create a test case for Chess960.
  • Added a test for the Stockfish constructor.

Great work done by @johndoknjas in https://github.com/zhelyabuzhsky/stockfish/pull/89

Full Changelog: https://github.com/zhelyabuzhsky/stockfish/compare/3.23.0...3.24.0

3.23.0

2 years ago

What's Changed

Full Changelog: https://github.com/zhelyabuzhsky/stockfish/compare/3.22.1...3.23.0

3.22.1

2 years ago

What's Changed

  • Modified tests for various SF versions by @johndoknjas in https://github.com/zhelyabuzhsky/stockfish/pull/83
    • fixed and improved some tests
    • a new method is_development_build_of_engine is added to models.py, that determines if the stockfish major version represents a dd/mm/yy date (which is the case if SF is a development build instead of a main release)

Full Changelog: https://github.com/zhelyabuzhsky/stockfish/compare/3.22.0...3.22.1

3.22.0

2 years ago

What's Changed

  • Prevented potential errors with the SF process, and misc. by @johndoknjas in https://github.com/zhelyabuzhsky/stockfish/pull/80

    • If the user calls the __del__ method themselves, this could potentially result in an error, since the OS may call __del__ later. So in each call to __del__, ensure that self._stockfish is still running (i.e., = None).
    • A check is also implemented in the _put function, such that if self._stockfish isn't running, or if the "quit" command has already been sent to Stockfish, then the stdin.write() and stdin.flush() lines won't be executed.
    • Renamed the self.stockfish instance variable to self._stockfish, in order to indicate that it should be treated as private.
    • Changed the default search depth from 2 to 15, in case the user doesn't set it themselves. 15 is a good depth value since it's nearly instantaneous while still being fairly strong.
    • Added to the example in the readme for creating a Stockfish instance, in order to show how to send all the optional arguments together.
  • Fixed README.md by @zhelyabuzhsky in https://github.com/zhelyabuzhsky/stockfish/pull/82

Full Changelog: https://github.com/zhelyabuzhsky/stockfish/compare/3.21.0...3.22.0

3.21.0

2 years ago

What's Changed

Full Changelog: https://github.com/zhelyabuzhsky/stockfish/compare/3.20.0...3.21.0

3.20.0

2 years ago

What's Changed

Full Changelog: https://github.com/zhelyabuzhsky/stockfish/compare/3.19.0...3.20.0