Remove a debug print
This commit is contained in:
parent
889c3cec94
commit
fee2e598d3
|
@ -127,7 +127,6 @@ impl GameState {
|
||||||
let board = self.board.clone();
|
let board = self.board.clone();
|
||||||
let new_board = board.place_stone(coordinate, self.current_player)?;
|
let new_board = board.place_stone(coordinate, self.current_player)?;
|
||||||
|
|
||||||
println!("past positions: {}", self.past_positions.len());
|
|
||||||
if self.past_positions.contains(&new_board) {
|
if self.past_positions.contains(&new_board) {
|
||||||
return Err(BoardError::Ko);
|
return Err(BoardError::Ko);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue