samkravitz / fen

Outputs a picture of a chess position given its FEN string

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fen

Outputs a picture of a chess position given its FEN string

Requirements

  • python3.x
  • PIL (pip install pillow)

Usage

python fen.py [FEN] This will output output.png representing the position in the root folder

Examples

Caro-Kann

python fen.py "rnbqkbnr/pp2pppp/2p5/3p4/3PP3/8/PPP2PPP/RNBQKBNR w KQkq - 0 3"
The Caro-Kann position

About

Outputs a picture of a chess position given its FEN string

License:MIT License


Languages

Language:Python 100.0%