TheBlackPlague / StockNemo

A C# Chess Engine Finding Good Moves.
GNU Lesser General Public License v3.0
62 stars 7 forks source link

Templated Make Move for Normal, Classical, and NN Updates. #83

Closed TheBlackPlague closed 2 years ago

TheBlackPlague commented 2 years ago

This PR makes the Move and UndoMove methods into templated methods depending on whether no updates are necessary (Normal), classical updates are necessary (ClassicalUpdate), or the neural network updates are necessary (NNUpdate).

Due to the nature of this PR, no ELO test is required.