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

Engine work #61

Open
wants to merge 91 commits into
base: master
Choose a base branch
from
Open

Engine work #61

wants to merge 91 commits into from

Commits on Feb 10, 2023

  1. .net 7 update

    - 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
    rudzen committed Feb 10, 2023
    Configuration menu
    Copy the full SHA
    bd2a7c0 View commit details
    Browse the repository at this point in the history
  2. Fixed minor formatting etc.

    rudzen committed Feb 10, 2023
    Configuration menu
    Copy the full SHA
    e61fb7a View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2023

  1. Various minor additions

    - 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
    rudzen committed Feb 12, 2023
    Configuration menu
    Copy the full SHA
    01536f4 View commit details
    Browse the repository at this point in the history
  2. Update copyright year

    rudzen committed Feb 12, 2023
    Configuration menu
    Copy the full SHA
    543d49d View commit details
    Browse the repository at this point in the history
  3. Updated tables etc

    rudzen committed Feb 12, 2023
    Configuration menu
    Copy the full SHA
    f266641 View commit details
    Browse the repository at this point in the history
  4. Minor refactor

    - Renamed some TT related stuff
    - Fixed minor issue with Player ToString(....)
    - Added Position.Set() tests for code - to be used with endgame setup
    rudzen committed Feb 12, 2023
    Configuration menu
    Copy the full SHA
    f6919fd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    acd7091 View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2023

  1. Updated some types to be more clear

    - ExtMove -> ValMove
    - Added RootMove to act as easy use of list of moves
    - IPieceValue -> IValues
    - PieceValues -> DefaultPieceValues
    - Move struct now readonly
    rudzen committed Feb 13, 2023
    Configuration menu
    Copy the full SHA
    c16f3b4 View commit details
    Browse the repository at this point in the history
  2. Modernized Perft application

    rudzen committed Feb 13, 2023
    Configuration menu
    Copy the full SHA
    6a779d2 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2023

  1. Configuration menu
    Copy the full SHA
    150faf6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b0082a8 View commit details
    Browse the repository at this point in the history
  3. Various minor code updates

    rudzen committed Feb 18, 2023
    Configuration menu
    Copy the full SHA
    7408832 View commit details
    Browse the repository at this point in the history
  4. Improved HiResTimer a bit

    rudzen committed Feb 18, 2023
    Configuration menu
    Copy the full SHA
    46a16d6 View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2023

  1. Reworked basic setup to be IoC friendly

    - 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
    rudzen committed Feb 19, 2023
    Configuration menu
    Copy the full SHA
    8bd0fcf View commit details
    Browse the repository at this point in the history
  2. Added move list object pool as IoC object

    - Fixed a few nullable things
    - Corrected a few var names
    rudzen committed Feb 19, 2023
    Configuration menu
    Copy the full SHA
    2f3cca9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3d48a7c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9a7a947 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2023

  1. Configuration menu
    Copy the full SHA
    bbddc16 View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2023

  1. Refactorings

    rudzen committed Mar 24, 2023
    Configuration menu
    Copy the full SHA
    00455d7 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2023

  1. Configuration menu
    Copy the full SHA
    9d369f9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    839f542 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2023

  1. Configuration menu
    Copy the full SHA
    6c57c0c View commit details
    Browse the repository at this point in the history
  2. Update reg ex pgn parser

    rudzen committed Mar 26, 2023
    Configuration menu
    Copy the full SHA
    0b50b99 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2023

  1. Fix using old sample pgn

    rudzen committed Mar 27, 2023
    Configuration menu
    Copy the full SHA
    eb3164c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0ac7a06 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    20b3ee1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    00f86f7 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2023

  1. Accumative minor code updates

    - TT can now be created with 0 size if it is not needed
    rudzen committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    de0188b View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2023

  1. Configuration menu
    Copy the full SHA
    4c9af1a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cb17655 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bea50c5 View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2023

  1. Configuration menu
    Copy the full SHA
    1155f9b View commit details
    Browse the repository at this point in the history
  2. Enabled tiered pgo as default

    rudzen committed Apr 10, 2023
    Configuration menu
    Copy the full SHA
    742f7b3 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2023

  1. Updated various functionalities

    - Blockage
    - Position Validation
    rudzen committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    7d01927 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4916c68 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2023

  1. Minor updates

    - Added proper KillerMove factory
    - Adjusted PolyglotBook factory
    - Removed null-check for array fill
    - Removed redundant initializer in KpkBitBase
    - Removed some MathExtensions methods as they were just indirections of Math
    - Minor formatting update for some types
    - Updated readme
    rudzen committed Apr 16, 2023
    Configuration menu
    Copy the full SHA
    542a90c View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2023

  1. Minor improvements

    - Aligned InBetween with dotnet naming of IsBetween
    - Simplified MoveList
    - Spelling fix in HiResTimer
    - SearchParameter depth now int + added missing method to interface
    - Encapsulated UCI options for simpler use
    - Added bitboard debugger display
    - Some types now implement IMinMaxValue<T>
    - Added some static square properties with tests
    - Minor formatting
    rudzen committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    3a2e856 View commit details
    Browse the repository at this point in the history
  2. Updated RKiss method arguments

    rudzen committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    c3d2c41 View commit details
    Browse the repository at this point in the history
  3. HashKeys now retrieved with ref from Zobrist (reminder: don't modify …

    …assignments directly!)
    rudzen committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    185465f View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2023

  1. Configuration menu
    Copy the full SHA
    c05d910 View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2023

  1. Configuration menu
    Copy the full SHA
    ad6ee5b View commit details
    Browse the repository at this point in the history

Commits on May 3, 2023

  1. Code update

    - Improved performance for various lookups
    - Improved performance for various loops
    - Relaxed unsafe code use (sizeof(T) -> Unsafe.SizeOf<T>())
    rudzen committed May 3, 2023
    Configuration menu
    Copy the full SHA
    063772c View commit details
    Browse the repository at this point in the history

Commits on May 13, 2023

  1. Couple of updates

    - Renamed InvalidFen -> InvalidFenException
    - Renamed State.Key -> State.PositionKey
    - Simplified BitBoards init
    - Improved BitBoards shift func lookup
    - Fixed an issue with incoming states not being handled correctly
    - Improved handling of incoming state objects
    - Added Position.MovePositionKey(Move)
    - Work towards fixing some zobrist instability
    - Added position key check in perft tests
    - Added basic zobrist piece move hash key checks
    rudzen committed May 13, 2023
    Configuration menu
    Copy the full SHA
    b8d0b3d View commit details
    Browse the repository at this point in the history
  2. Update perft a bit

    rudzen committed May 13, 2023
    Configuration menu
    Copy the full SHA
    865774f View commit details
    Browse the repository at this point in the history

Commits on May 14, 2023

  1. Updated code design

    - Zobrist no longer static class
    - Cuckoo no longer static class
    rudzen committed May 14, 2023
    Configuration menu
    Copy the full SHA
    947e874 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2023

  1. Configuration menu
    Copy the full SHA
    65ead6c View commit details
    Browse the repository at this point in the history
  2. Cleanup

    rudzen committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    20ef9fa View commit details
    Browse the repository at this point in the history
  3. Simplified

    rudzen committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    7044184 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2023

  1. Cleanup and fixed pgn tests

    rudzen committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    48d8670 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2023

  1. Configuration menu
    Copy the full SHA
    3f0fde1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    67548b5 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2023

  1. Configuration menu
    Copy the full SHA
    f25a25b View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2023

  1. Configuration menu
    Copy the full SHA
    e45ca03 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2023

  1. Configuration menu
    Copy the full SHA
    3430bfb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dfcc354 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8a67e1c View commit details
    Browse the repository at this point in the history
  4. simplify perft runner a bit

    rudzen committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    4d7367a View commit details
    Browse the repository at this point in the history
  5. removed not needed dependency

    rudzen committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    b8fe3bd View commit details
    Browse the repository at this point in the history
  6. update san to move tests

    rudzen committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    ac6f462 View commit details
    Browse the repository at this point in the history
  7. update regex pgn parser

    rudzen committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    3c62e9b View commit details
    Browse the repository at this point in the history
  8. update perft slightly

    rudzen committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    00ced65 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    c3a834e View commit details
    Browse the repository at this point in the history
  10. update position key create

    rudzen committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    c516c02 View commit details
    Browse the repository at this point in the history
  11. simplify perft tests

    rudzen committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    f18ce78 View commit details
    Browse the repository at this point in the history
  12. update name of polyglot stream

    rudzen committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    6d7a83b View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2023

  1. update to .net 8

    rudzen committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    d60dda3 View commit details
    Browse the repository at this point in the history
  2. minor cleanup

    rudzen committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    d2b28db View commit details
    Browse the repository at this point in the history
  3. minor simplifications

    rudzen committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    dfbb979 View commit details
    Browse the repository at this point in the history
  4. update todo file

    rudzen committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    aee0b20 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2910a65 View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2024

  1. Configuration menu
    Copy the full SHA
    2af2513 View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2024

  1. simplify move list properties

    rudzen committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    8512d69 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    71ccd00 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2024

  1. Configuration menu
    Copy the full SHA
    39b9f75 View commit details
    Browse the repository at this point in the history
  2. updated fen generate function

    rudzen committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    bc0c4da View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b37d8c2 View commit details
    Browse the repository at this point in the history
  4. update readme

    rudzen committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    5305f58 View commit details
    Browse the repository at this point in the history

Commits on Feb 29, 2024

  1. update magicbb

    rudzen committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    aa41330 View commit details
    Browse the repository at this point in the history
  2. various

    - killed off IMoveList + MoveListPolicy, MoveList now uses IResettable
    - RKiss can now have it's seed modified
    - Updated some dependencies
    rudzen committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    34946b7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0509f68 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    af47ed8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    61afc93 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c9eec94 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    db7ae58 View commit details
    Browse the repository at this point in the history
  8. cleaned up MagicBB class

    rudzen committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    171acb2 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    6fb6fc8 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    6023d3c View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    7cbabb8 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    dddc95e View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2024

  1. Configuration menu
    Copy the full SHA
    ea9e9b4 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2024

  1. minor updates

    - 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
    rudzen committed Mar 2, 2024
    Configuration menu
    Copy the full SHA
    e459479 View commit details
    Browse the repository at this point in the history