fix some stuff
This commit is contained in:
@@ -112,7 +112,7 @@ impl Board {
|
||||
}
|
||||
|
||||
pub fn would_prop(&self, i: usize, j: usize, piece: Piece) -> bool {
|
||||
!self.propegate_from_dry(i, j, piece).is_empty()
|
||||
self.get(i, j).is_none() && !self.propegate_from_dry(i, j, piece).is_empty()
|
||||
}
|
||||
|
||||
pub fn place(&mut self, i: usize, j: usize, piece: Piece) -> Result<(), String> {
|
||||
|
||||
Reference in New Issue
Block a user