Coder Social home page Coder Social logo

stevenadema / chess-blunder-scout Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 29.14 MB

A Flask app that randomly selects previously played positions where you had made an inaccuracy. Improve your chess by finding the moves you missed!

License: MIT License

Python 51.94% CSS 14.77% HTML 33.19% Procfile 0.10%
python flask chess chess-engine python-chess python-flask stockfish javascript-chess

chess-blunder-scout's Introduction

Blunder Scout Logo

               Correct blunders from your previous games on Chess.com

Briefly

A Flask app that randomly selects previously played positions where you had made an innacuracy. Improve your chess by finding the moves you missed!

Screenshot

Blunder Scout Screenshot


Installation

  1. git clone https://github.com/StevenAdema/blunder-scout.git
  2. pip install -r requirements.txt
  3. env\Scripts\activate
  4. python app.py
  5. Open http://127.0.0.1:5000/ in the browser

How it works

  1. User submits their chess.com username.
  2. read_pgn.py calls the chess.com API to retrieve game history.
  3. python-chess library analyzes a random set of games.
  4. A DataFrame of all moves, optimal moves determined by the engine, and game metadata is created.
  5. A random innacurate move is selected and fed to the appropriate template HTML file.

WIP

  • display feedback message on move guesses
  • show hints (e.g. highlight piece to move)
  • reveal best move on both board and in button

chess-blunder-scout's People

Contributors

stevenadema avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.