chess
pub const NUM_CASTLE_RIGHTS: usize = 4;
How many different types of CastleRights are there?
CastleRights