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

Make more modules available for library use? #69

Open
liamoc opened this issue Jan 25, 2021 · 2 comments
Open

Make more modules available for library use? #69

liamoc opened this issue Jan 25, 2021 · 2 comments

Comments

@liamoc
Copy link

liamoc commented Jan 25, 2021

Hi, I'm making a Chess GUI in Rust and I just want to link directly to littlewing rather than run it as a separate process.

But many modules are not public which makes it quite difficult. In particular, determining if a player is in check (the attack module), or access to the PieceMove type would be super helpful!

@vinc
Copy link
Owner

vinc commented Jan 25, 2021

Hi @liamoc, thanks for opening this issue, I could indeed make more modules public, I'll look into it!

@liamoc
Copy link
Author

liamoc commented Jan 26, 2021

Great, thanks!

For this chess GUI I just had to make the attack and piece_move modules public. I can submit a PR but it's a very minor change.

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