diff options
Diffstat (limited to 'src/board/mod.rs')
-rw-r--r-- | src/board/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/board/mod.rs b/src/board/mod.rs index 5e2f4e3..d339f1d 100644 --- a/src/board/mod.rs +++ b/src/board/mod.rs @@ -123,7 +123,7 @@ impl Board { } /// Color to move at this ply - fn color(&self) -> Color { + pub fn color(&self) -> Color { Color::from(self.ply as u8 % 2) } |