Skip to content

Latest commit

 

History

History
69 lines (46 loc) · 2.82 KB

README.md

File metadata and controls

69 lines (46 loc) · 2.82 KB

chessvg

Gitpod Ready-to-Code

chessvg is an intuitive web application with a fluent API that generates scalable (SVG) images.

Examples

Every example is also a link that opens in a new tab where you can experiment with changing the URL.

Starting position

https://chessvg.nl

starting position

Position using Forsyth–Edwards Notation (FEN):

The Giuoco Piano, a branch of the Italian Game, using Forsyth–Edwards Notation:

https://chessvg.nl/fen/r1bqkbnr/pppp1ppp/2n5/1B2p3/4P3/5N2/PPPP1PPP/RNBQK2R/b

Giuoco Piano

Moves using Standard Algebraic Notation (SAN)

The Ruy Lopez, also called the Spanish Opening or Spanish Game, using standard algebraic notation:

https://chessvg.nl/san/e4/e5/Nf3/Nc6/Bc4/Bc5

Ruy Lopez

Position from black's perspective

The classical variation of the King's Indian Defense from black's perspective using flip:

https://chessvg.nl/san/d4/Nf6/c4/g6/Nc3/Bg7/e4/d6/Nf3/0-0/Be2/e5?flip

King's Indian Defense

Arrows using Portable Game Notation (PGN)

Some ideas of the King's Indian Attack, highlighted using arrows:

https://chessvg.nl/fen/8/8/8/8/8/3P1NP1/PPPNPPBP/R1BQ1RK1?arrows=Re2e4,Re4e5,Bf1e1,Yd2f1,Yh2h4

King's Indian Attack

Acknowledgements

chessvg would not be possible without Niklas Fiekas' amazing python-chess library. The project also uses the Flask micro-framework, licensed under Flasks' own Flask License.

License

chessvg is licensed under GPL 3. See LICENSE for details.