Currently, a method known as Util.OppositeColor(PieceColor) exists. It's better to refactor this into the PieceColor enum instead. Gives the code a cleaner look.
Due to the nature of this PR and all unit tests passing, it doesn't need to be ELO tested.
Currently, a method known as
Util.OppositeColor(PieceColor)
exists. It's better to refactor this into the PieceColor enum instead. Gives the code a cleaner look.Due to the nature of this PR and all unit tests passing, it doesn't need to be ELO tested.