Skip to content

Can analyze chess games from a PGN file with any UCI chess engine, annotate games and positions with what the engine think is the best move.

License

Notifications You must be signed in to change notification settings

tillchess/python-chess-solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chess-solver

About

I needed a tool where I can analyse a batch of PGN games even, with positons only , and run Stockfish or any other UCI engine and give me the solution of the mating or best move problem. Then I could feed it to any Chess GUI and play thru with hidden moves easily.

Set MAX_PLY,ANALYSE_FROM_START_POSITION and ENGINE_PATH in the code to your personal setting

Installation

Requires modules: phyton-chess 1.999 or newer chess 1.5.0 or newer A UCI chess engine of your choice!

Is recommended that you use Python 3 and pip3.

Install requirements

pip3 install -r requirements.txt --user

Launching Application

phyton3 solver.py game.pgn output.pgn

About

Can analyze chess games from a PGN file with any UCI chess engine, annotate games and positions with what the engine think is the best move.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published