A Flask app that randomly selects previously played positions where you had made an innacuracy. Improve your chess by finding the moves you missed!
git clone https://github.com/StevenAdema/blunder-scout.git
pip install -r requirements.txt
env\Scripts\activate
python app.py
- Open http://127.0.0.1:5000/ in the browser
- User submits their chess.com username.
- read_pgn.py calls the chess.com API to retrieve game history.
- python-chess library analyzes a random set of games.
- A DataFrame of all moves, optimal moves determined by the engine, and game metadata is created.
- A random innacurate move is selected and fed to the appropriate template HTML file.
- display feedback message on move guesses
- show hints (e.g. highlight piece to move)
- reveal best move on both board and in button