Integrates the Stockfish chess engine with Python
MIT License
Published by zhelyabuzhsky almost 4 years ago
Published by zhelyabuzhsky about 4 years ago
get_evaluation
methodPublished by zhelyabuzhsky over 4 years ago
thanks to @2kofawsome
Published by zhelyabuzhsky over 4 years ago
get_best_move_time
to allow user to enter the time stockfish to run forThank you, @2kofawsome
Published by zhelyabuzhsky over 4 years ago
set_depth
to allow user to change depth used in get_best_move
get_evaluation
to get current score of the game in centipawns or mate in xThank you, @2kofawsome
Published by zhelyabuzhsky over 4 years ago
moves
from get_fen_position
methodPublished by zhelyabuzhsky over 4 years ago
get_fen_position
to return FEN notation of current board's positionshow_board_visual
to print a visual representation of current board's positionThank you, @VivekThazhathattil
Published by zhelyabuzhsky over 4 years ago
Published by zhelyabuzhsky over 4 years ago
Published by zhelyabuzhsky almost 5 years ago
params
in Stockfish's constructor renamed to parameters
get_parameters
to get current engine's parametersset_skill_level
also changes engine's parameters attributePublished by zhelyabuzhsky almost 5 years ago
Published by zhelyabuzhsky almost 5 years ago
Published by zhelyabuzhsky about 5 years ago
param
Stockfish parameter to params
Published by zhelyabuzhsky about 5 years ago
Published by zhelyabuzhsky about 5 years ago
set_fen_position
resets board (thanks to @charlesoblack)Published by zhelyabuzhsky about 5 years ago
get_best_move
returns None if there are no movesstockfish.info
return last evaluation information before best move (thanks to @charlesoblack)Published by zhelyabuzhsky about 5 years ago
Published by zhelyabuzhsky about 5 years ago
Published by zhelyabuzhsky over 6 years ago