Implement the basic rules of Go #40
|
@ -127,7 +127,6 @@ impl GameState {
|
|||
let board = self.board.clone();
|
||||
let new_board = board.place_stone(coordinate, self.current_player)?;
|
||||
|
||||
println!("past positions: {}", self.past_positions.len());
|
||||
if self.past_positions.contains(&new_board) {
|
||||
return Err(BoardError::Ko);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue