logic improvements

This commit is contained in:
2025-02-28 23:36:47 -05:00
parent ff1ded0a74
commit 19b5b856db
4 changed files with 22 additions and 17 deletions

View File

@@ -14,24 +14,26 @@ fn main() {
Piece::Black,
FutureMoveConfig {
max_depth: 20,
min_arena_depth_sub: 3,
min_arena_depth_sub: 14,
top_k_children: 2,
up_to_minus: usize::MAX, // disable pruning
up_to_minus: 10,
max_arena_size: 50_000_000,
do_not_prune: false,
},
);
// let player2 = complexagent::ComplexAgent::new(
// Piece::White,
// FutureMoveConfig {
// max_depth: 20,
// min_arena_depth_sub: 3,
// min_arena_depth_sub: 14,
// top_k_children: 2,
// up_to_minus: 5,
// max_arena_size: 2_000_000,
// up_to_minus: 10,
// max_arena_size: 50_000_000,
// do_not_prune: false,
// },
// );
let player2 = agent::ManualAgent::new(Piece::White);
// let player2 = agent::RandomAgent::new(Piece::White);
let mut game = Game::new(Box::new(player1), Box::new(player2));
game.game_loop();
}