issues
search
Bonifatius94
/
ChessLib.Py
C-lib Python3 extension for efficient chess draw-gen
MIT License
2
stars
0
forks
source link
Add compatibility to common formats (PGN, FEN)
#32
Open
Bonifatius94
opened
3 years ago
Bonifatius94
commented
3 years ago
Issue:
the current implementation uses its' own data structures
allowing common formats would simplify the interaction with other chess programs
Suggested Solution:
add a new API function converting a PGN draw into a draw using a chess board
rework the API function VisualizeDraw() to support PGN output
add 2 new API functions for conversions between chess boards and FEN strings
Bonifatius94
commented
3 years ago
create Python functions:
ChessBoard_FromFen(fen_str: numpy.ndarray)
ChessBoard_ToFen(board: numpy.ndarray, is_simple: bool)
ChessDraw_FromPgn(board: numpy.ndarray, pgn_str: str)
ChessDraw_ToPgn(ext_draw: int)
Issue:
Suggested Solution: