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

[FEATURE] Create a MovePicker #91

Open
4 tasks
dannyhammer opened this issue Nov 22, 2024 · 0 comments
Open
4 tasks

[FEATURE] Create a MovePicker #91

dannyhammer opened this issue Nov 22, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@dannyhammer
Copy link
Owner

Description:
A MovePicker is a tool that selects the next-best move available when called, regardless of what order the moves are in. It sorts moves one-by-one rather than all at once. The logic here is that, because we're likely to prune nodes after only a few moves, we shouldn't waste time sorting every available move. We should only expend computational power on sorting the moves we actually care about.

Relevant Link(s):

Requirements:

  • Implement a MovePicker
  • Score all moves at once, then store moves along with their scores
  • Make it implement Iterator maybe?
  • Ensure that it gains!
@dannyhammer dannyhammer added the enhancement New feature or request label Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant