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

Move Sort #4

Open
jordanbray opened this issue Nov 30, 2016 · 1 comment
Open

Move Sort #4

jordanbray opened this issue Nov 30, 2016 · 1 comment

Comments

@jordanbray
Copy link
Owner

I need to implement a move sorter for chess engine developers.
This will need to take in a PV, a list of killer moves, a function to sort captures and a fuction to sort quiet moves.
It will need to iterate in the following order:

  • PV (iff PV is legal, passed in by user)
  • Good Captures (sorted by user supplied function, determined good capture by same function)
  • Killers (iff legal, passed in by user)
    ** Remove all killers from move list!
  • Good Quiets (sorted by user supplied function, determined good by user supplied function)
  • Bad Moves

It needs the ability to stop at an arbitrary point (Such as only iterating over captures for qsearch).

@ArcticXWolf
Copy link

Heyho,

as I am currently developing a chess engine with your crate (Thanks for the awesome work!), I would love to try and implement this. I am sure that my first draft wont be performant or efficient, but maybe you can review this and then we improve it from there?

Is that okay for you? And hints / stuff that I should be aware during implementation?

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

No branches or pull requests

2 participants