liamt19 / Lizard

Chess engine written in C#
MIT License
31 stars 2 forks source link

Changed move struct size from 32 to 16 bits #5

Closed liamt19 closed 9 months ago

liamt19 commented 9 months ago

This is a major simplification since there is no longer the need to convert between CondensedMoves and normal Moves. Bench slightly increased, which I believe is due to slight errors in how move equality was previously being handled.

In any case, this doesn't change elo by much since it was (supposed to be...) a non-functional change.

16bit_moves vs main:

Elo   | 2.73 +- 7.64 (95%)
SPRT  | 10.0+0.10s Threads=1 Hash=16MB
LLR   | 0.37 (-2.94, 2.94) [0.00, 3.00]
Games | N: 4462 W: 1274 L: 1239 D: 1949
Penta | [40, 508, 1114, 515, 54]