Difference between revisions of "Python-chess"

From BITPlan Wiki
Jump to navigation Jump to search
Line 11: Line 11:
 
The [https://en.wikipedia.org/wiki/Forsyth%E2%80%93Edwards_Notation Forsyth–Edwards Notation] describes a board position.
 
The [https://en.wikipedia.org/wiki/Forsyth%E2%80%93Edwards_Notation Forsyth–Edwards Notation] describes a board position.
  
[https://lichess.org/editor/rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR_w_KQkq_- e.g. rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR describes the starting position without hints for castling rights]
+
Examples:
 +
* [https://lichess.org/editor/rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR_w_KQkq_- rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR]
 +
* [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
  
  
 
[[Category:Chess]]
 
[[Category:Chess]]

Revision as of 08:19, 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: