Coder Social home page Coder Social logo

leopounet / chess-flowchart Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 16 KB

This project has been created to help the creation of flowcharts representing chess openings (although it can be extended to other things).

License: MIT License

Python 100.00%
chess flowcharts chess-openings learning-chess graphviz graphviz-dot python

chess-flowchart's Introduction

Chess-Flowchart

This project is intended to help you create simple looking flowcharts that can help you learn chess openings. You can obviously use the code presented here to generate even more flowcharts, but some openings already have some dedicated files.

How to use

To generate a flowchart, simply run the following command in the openings folder:

python3 <opening>.py <filename>

This will generate a file named filename with a valid dot format. You can then generate a PNG file using dot or copy-paste the content of the file on a website like Graphviz Online.

Creating new openings (and other things)

If you want to generate custom flowcharts, you will have to create your own .py file, in this file then you can create a list of branches that will represent your flowchart. Please find more explanations in the documentation or in StringReader.py. If you have questions regarding the syntax, please refer to already existing files or raise an issue. Also, note that so far, the model might be incomplete, feel free to add what's missing according to you.

Once your opening is generated, just follow the steps in any pre-existing opening file to generate your flowchart.

Any problem?

This project is new and therefore a lot of bugs can exist, please raise an issue if you encounter one that you don't understand!

chess-flowchart's People

Contributors

leopounet avatar

Stargazers

 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.