logic improvements
This commit is contained in:
14
src/main.rs
14
src/main.rs
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user