Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Display a chess position from FEN (Forsyth–Edwards Notation)
ResourceFunction["ShowChessPosition"]["fen"] displays the chess position fen as described according to Forsyth–Edwards Notation. | |
ResourceFunction["ShowChessPosition"][] displays the standard startup position. |
Show the startup position:
In[1]:= |
Out[1]= |
Show a game after a few moves:
In[2]:= |
Out[2]= |
The commentary characters at the end do not affect the display:
In[3]:= |
Out[3]= |
In[4]:= |
Out[4]= |
This work is licensed under a Creative Commons Attribution 4.0 International License