Skip to content

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

License

Notifications You must be signed in to change notification settings

Leopounet/Chess-Flowchart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages