Latiang / magnificence-2-chess

A chess engine using bitboards with support for machine learning
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

Color not updated for engine #1

Closed Latiang closed 4 years ago

Latiang commented 4 years ago

engine class has its own color implementation which does not match the bitboard class. Causes incorrect divides if black is to move.

wsandst commented 4 years ago

Fixed in commit 1f2f199c0f8e1341b281cdfdac00bae57e860688. The engine color now correctly mirrors board color.