Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add compatibility to common formats (PGN, FEN) #32

Open
Bonifatius94 opened this issue May 4, 2021 · 1 comment · May be fixed by #51
Open

Add compatibility to common formats (PGN, FEN) #32

Bonifatius94 opened this issue May 4, 2021 · 1 comment · May be fixed by #51
Assignees
Labels
enhancement New feature or request high prio The issue is very urgent and might be dealt with very soon

Comments

@Bonifatius94
Copy link
Owner

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 Bonifatius94 added the enhancement New feature or request label May 4, 2021
@Bonifatius94 Bonifatius94 self-assigned this May 4, 2021
@Bonifatius94 Bonifatius94 added the high prio The issue is very urgent and might be dealt with very soon label Jul 23, 2021
@Bonifatius94
Copy link
Owner Author

Bonifatius94 commented Aug 4, 2021

  • 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)

@Bonifatius94 Bonifatius94 changed the title Add compatibility to common formats (PGN, FEN, etc.) Add compatibility to common formats (PGN, FEN) Aug 4, 2021
@Bonifatius94 Bonifatius94 linked a pull request Aug 6, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request high prio The issue is very urgent and might be dealt with very soon
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant