https://github.com/sebzanardo/chess-puzzle-evaluator
A script to evaluate a chess pgn file using Stockfish
https://github.com/sebzanardo/chess-puzzle-evaluator
chess pgn stockfish
Last synced: 7 months ago
JSON representation
A script to evaluate a chess pgn file using Stockfish
- Host: GitHub
- URL: https://github.com/sebzanardo/chess-puzzle-evaluator
- Owner: SebZanardo
- Created: 2025-02-27T11:58:55.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-02-27T13:33:49.000Z (7 months ago)
- Last Synced: 2025-02-27T17:11:16.604Z (7 months ago)
- Topics: chess, pgn, stockfish
- Language: Python
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# chess-puzzle-evaluator
## Script setup
### I would recommend setting up a [virtual environment](https://www.freecodecamp.org/news/how-to-setup-virtual-environments-in-python/) before installing this project's requirements
Install the project requirements
```
pip install -r requirements.txt
```
### AND
Install stockfish on your machine: https://github.com/official-stockfish/Stockfish## Running the script
```
python3 main.py
```
Any invalid pgn's are logged to `invalid.txt` with errors messages
`invalid.txt` is created in the same directory as `main.py`## Features
This script:
- Validates multiple pgn files in a directory
- Validates multiple games within a single file
- Coloured terminal output whilst running
- Detailed log file in the format \ \ \
Coming soon... requesting move data from a 'Site' url specified in the pgn file if there are no moves