improve player management

This commit is contained in:
2025-01-28 14:16:16 -05:00
parent 17e774ae57
commit 565f638b1b
5 changed files with 42 additions and 43 deletions

View File

@@ -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;