[−][src]Function connect6::policy::diff_board
pub fn diff_board(board1: &Board, board2: &Board) -> Option<(usize, usize)>
compare the board and return the difference between position by position.
Examples
let game = Game::new(); let mut sim = Simulate::from_game(&game); sim.simulate_in(0, 0); let diff = diff_board(game.get_board(), &sim.board()); assert_eq!(diff, Some((0, 0)));