Difference between revisions of "Python-chess"

From BITPlan Wiki
Jump to navigation Jump to search
Line 15: Line 15:
 
* [https://lichess.org/editor/8/8/8/8/8/8/8/8_w_-_-_0_1 8/8/8/8/8/8/8/8] empty board
 
* [https://lichess.org/editor/8/8/8/8/8/8/8/8_w_-_-_0_1 8/8/8/8/8/8/8/8] empty board
  
https://lichess.org/XynYr4v1
+
Given a FEN you can continue playing from that position.
 
+
<html>
 +
<iframe src="https://lichess.org/embed/XynYr4v1?theme=auto&bg=auto"
 +
width=600 height=397 frameborder=0></iframe>
 +
</html>
 
[[Category:Chess]]
 
[[Category:Chess]]

Revision as of 07:23, 27 December 2019

Click here to comment see PlayChessWithAWebCam

python-chess is a pure Python chess library with move generation, move validation and support for common formats. It is open sourced at https://github.com/niklasf/python-chess

Request for more detailed documentation

Documentation

Glossary

FEN Forsyth–Edwards Notation

The Forsyth–Edwards Notation describes a board position.

Examples:

Given a FEN you can continue playing from that position.