-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat: add open bench support #4
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Added search config parameters and search result struct. Also added a basic (failing) unit test.
Move our impls higher up above the trait implementations
Also remove stalemate detection and simplify `is_draw()` function. Also added a unit test for insufficient material. This required adding some new features to `Square` and adding a `Color` object. This is different from the `Side` enum.
Fixed some minor bugs with how the transposition table was implemented.
Implemented iterative deepening, quiescence search and improved the negamax to use the transposition table. Also added a basic MVV/LVA move ordering.
Ensure we're actually using the search params in the search 😅 Also added support for printing information on depth, nodes, nps, score and so on while we're searching in the ID loop.
This should be in the engine code, not the board representation
Implemented basic support for the `bench` command
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes
Many changes were made but here are the highlights:
bench
CLI command. This will run a fixed depth search on thestandard.epd
positions.Hash
andThread
UCI options (Hash is not fully implemented yet)sufficient_material
check in myBoard
representationstalemate
detection and simplifiedis_draw()
detection inBoard
.