woah
This commit is contained in:
18
src/agent.rs
18
src/agent.rs
@@ -52,21 +52,3 @@ impl Agent for QueueAgent {
|
||||
self.color
|
||||
}
|
||||
}
|
||||
|
||||
pub struct AutoAgent {
|
||||
color: Piece,
|
||||
}
|
||||
|
||||
impl Agent for AutoAgent {
|
||||
fn next_move(&mut self, _: &Board) -> Option<(usize, usize)> {
|
||||
todo!("next_move not implemented")
|
||||
}
|
||||
|
||||
fn name(&self) -> &'static str {
|
||||
"Auto Agent"
|
||||
}
|
||||
|
||||
fn color(&self) -> Piece {
|
||||
self.color
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user