Pad out the discriminants of Kind variants

This commit is contained in:
Eryn Wells 2024-02-10 18:33:13 -07:00
parent e6a9b7f8c4
commit 8724c3cdce

View file

@ -3,10 +3,10 @@
use chessfriend_core::Shape;
pub(crate) enum Kind {
Quiet = 0b00,
DoublePush = 0b01,
KingSideCastle = 0b10,
QueenSideCastle = 0b11,
Quiet = 0b0000,
DoublePush = 0b0001,
KingSideCastle = 0b0010,
QueenSideCastle = 0b0011,
Capture = 0b0100,
EnPassantCapture = 0b0101,
Promotion = 0b1000,