improve player management
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
use crate::{board::Board, piece::Piece};
|
||||
use std::collections::VecDeque;
|
||||
|
||||
use crate::repr::{Board, Piece};
|
||||
|
||||
pub trait Agent {
|
||||
fn next_move(&mut self, board: &Board) -> Option<(usize, usize)>;
|
||||
fn name(&self) -> &'static str;
|
||||
|
||||
Reference in New Issue
Block a user