Skip to content

Conversation

@Aryan1508
Copy link
Owner

Use a move class to represent moves. This will allow assigning multiple scores to moves, for move-ordering for the future

https://ob.koibois.net/test/2436/

@Aryan1508 Aryan1508 self-assigned this Jul 5, 2021
@Aryan1508
Copy link
Owner Author

Also fixes

move = static_cast<Move>(move | (score << 16));
where score << 16 is UB for negative scores

@Aryan1508
Copy link
Owner Author

ELO   | -0.36 +- 3.99 (95%)
SPRT  | 10.0+0.10s Threads=1 Hash=16MB
LLR   | 1.61 (-2.94, 2.94) [-5.00, 0.00]
GAMES | N: 16296 W: 4555 L: 4572 D: 7169

@Aryan1508 Aryan1508 merged commit e5f9968 into master Jul 5, 2021
@Aryan1508 Aryan1508 deleted the move branch July 5, 2021 17:31
@Aryan1508 Aryan1508 removed their assignment Aug 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants