small rewrite and addition of by_depth + by_depth_test

This commit is contained in:
2025-02-25 15:03:25 -05:00
parent f60de28c58
commit a95b9e08c1
5 changed files with 129 additions and 66 deletions

View File

@@ -12,8 +12,8 @@ pub struct ComplexAgent {
#[allow(dead_code)]
impl ComplexAgent {
pub const fn new(color: Piece) -> Self {
const MAX_DEPTH: usize = 8;
const NON_LAZY_DEPTH: usize = 8;
const MAX_DEPTH: usize = 5;
const NON_LAZY_DEPTH: usize = 3;
Self {
color,
future_moves: FutureMoves::new(color, MAX_DEPTH, NON_LAZY_DEPTH),