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

Show optimal number of moves from the start of a new puzzle #14

Open
aspiers opened this issue Aug 31, 2019 · 3 comments
Open

Show optimal number of moves from the start of a new puzzle #14

aspiers opened this issue Aug 31, 2019 · 3 comments

Comments

@aspiers
Copy link

aspiers commented Aug 31, 2019

[Hi, I just discovered this awesome project! Hope you don't mind if I submit a few suggestions :) Here is the first one ...]

It only shows "You can reach mate in x" after the first move has been played. This means it's impossible to tell whether your first move was a good one or a bad one. It would be better if it showed it from the beginning.

@aspiers
Copy link
Author

aspiers commented Aug 31, 2019

This also applies to already completed puzzles. Currently I see something like "Personal record: 11 moves" but it would be great if it also showed "Best possible: 8 moves".

@supertorpe
Copy link
Owner

Suggestion are welcome. I have to decide whether to statically (at "compile" or "package" phase) calculate the smallest number of movements of each position, and store that data in the database, or calculate it at runtime (it would only be viable for syzygy positions).

@aspiers
Copy link
Author

aspiers commented Aug 31, 2019

Yep, good point. I guess statically would be better if possible, but either would work.

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