diff options
Diffstat (limited to 'src/bin')
-rw-r--r-- | src/bin/depth-first-search.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bin/depth-first-search.rs b/src/bin/depth-first-search.rs index c2b82de..c04061d 100644 --- a/src/bin/depth-first-search.rs +++ b/src/bin/depth-first-search.rs @@ -5,7 +5,6 @@ use time::PreciseTime; use zombot::*; use zombot::engine::*; use zombot::engine::settings::*; -use zombot::engine::constants::*; use zombot::engine::command::*; const STATE_PATH: &str = "tests/state0.json"; @@ -87,6 +86,9 @@ fn walk_states<GS: GameState>(settings: &GameSettings, state: &GS, depth: u32) { if status == GameStatus::Continue { walk_states(settings, &after_move, depth+1); } + if depth < 10 { + print!("."); + } } fn valid_buildings(settings: &GameSettings, player: &Player, has_max_teslas: bool) -> Vec<BuildingType> { |