-
Notifications
You must be signed in to change notification settings - Fork 22
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
Engine work #61
Open
rudzen
wants to merge
119
commits into
master
Choose a base branch
from
engine_work
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Engine work #61
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
- Better use of MemoryMarshal - Replaces some home-brew functionality with new dotnet 7 equivalent - Fixed a few sonar warnings - Added [SkipLocalsInit] where appropriate - Updated dependencies: - Microsoft.Extensions.ObjectPool 6.0.10 -> 7.0.0 - ZString 2.4.4 -> 2.5.0 - DryIoc 5.2.2 -> 5.3.1 - Microsoft.Extensions.Caching.Memory 6.0.1 -> 7.0.0 - Microsoft.Extensions.Configuration 6.0.1 -> 7.0.0 - Microsoft.Extensions.Configuration.EnvironmentVariables 6.0.1 -> 7.0.0 - Microsoft.Extensions.Configuration.Json 6.0.0 -> 7.0.0
- Added some more helper functions to IPosition - Fixed a UCI bug with options in regards to bool values - Updated dependencies - Added some static Create() factory methods to Score - Updated SearchParameters slightly - Minor update to HashTable<T> - Clarified some methods in KpkBitBase
- Renamed some TT related stuff - Fixed minor issue with Player ToString(....) - Added Position.Set() tests for code - to be used with endgame setup
- ExtMove -> ValMove - Added RootMove to act as easy use of list of moves - IPieceValue -> IValues - PieceValues -> DefaultPieceValues - Move struct now readonly
- Added AddChessLib() IServiceCollection extension - More types are now more friendly towards IoC in general - Any other developmental changes can be observed through the unit tests - Improved use of PolyglotBook, Blockage - Added IOptions usage for TT - Added PolyglotBook injectable factory with IOptions injected for base path - Perft tests that takes a long time is now disabled in debug mode - Perft time improved.. from ~3.2-3.4 seconds to ~3.0 seconds for start pos d=6 - Updated WebApi demo app
- Fixed a few nullable things - Corrected a few var names
- TT can now be created with 0 size if it is not needed
- move generator is now using unsafe references directly (slightly faster overall) - move generator adjusted to no longer support slow enumeration interface (moved to concrete method) - base perft functionality no longer async
- Player -> Color (to eliminate confusing semantics) - Added CPM - Update PGN parsing - Add PieceType type - Add CastleSide type - Fix a couple of variable namings - Added a zobrist hash test - Expanded HashKey a bit to be more flexible
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.
Stabilization towards better support for creating a chess engine with ChessLib