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

FEN Support #30

Open
corlaez opened this issue Apr 21, 2022 · 4 comments
Open

FEN Support #30

corlaez opened this issue Apr 21, 2022 · 4 comments

Comments

@corlaez
Copy link
Contributor

corlaez commented Apr 21, 2022

Is there interest in supporting FEN? I think it would be a convenient way to store state (with the tradeoff of loosing the history). I like how compact FEN can be.

I was thinking in writing my own but I couldn't find a way to flip castling rights in jchess API. Any thoughts or comments on this?

@ctabin
Copy link
Owner

ctabin commented Apr 21, 2022

@corlaez Can you please give a link about FEN ? I don't know anything about it. Is it a storage format like PGN ?

@ctabin
Copy link
Owner

ctabin commented Apr 21, 2022

Oh right, by googling it, there is some simple explanation. It looks interesting and I might add support for it (but I don't have any foreseeable future to implement it).

So feel free to submit a PR if you feel confident about implementing it.

@corlaez
Copy link
Contributor Author

corlaez commented Apr 23, 2022

It is not a blocker for me so no attempts for now. I will write here if I give it a try later.

@corlaez
Copy link
Contributor Author

corlaez commented Apr 23, 2022

To be more specific with the FEN features I consider needed when talking about FEN support are:

  1. Ability to create a jchess game (or override it's state) based on a FEN string
  2. Ability to export a game to a FEN string

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants