diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 26d6eac..05b9546 100644 --- a/src/main.rs +++ b/src/main.rs @@ -35,7 +35,8 @@ fn main() { }; // TODO: Opening playbook? - let command = strategy::monte_carlo::choose_move(&state, start_time, max_time); + #[cfg(feature = "full-monte-carlo-tree")] let command = strategy::monte_carlo_tree::choose_move(&state, start_time, max_time); + #[cfg(not(feature = "full-monte-carlo-tree"))] let command = strategy::monte_carlo::choose_move(&state, start_time, max_time); match write_command(COMMAND_PATH, command) { Ok(()) => {} |