fix to be identical to crafty, remove debugs

This commit is contained in:
Asriel Camora
2023-06-18 03:50:48 -07:00
parent e190368d62
commit bae48844b5
23 changed files with 203 additions and 148 deletions
+9 -1
View File
@@ -27,6 +27,14 @@ internal class Program
};
var actions = new List<ActionType>();
(actions, _) = Solver.Crafty.Solver.SearchStepwise(input, actions, a => Console.WriteLine(a));
if (true)
(actions, _) = Solver.Crafty.Solver.SearchStepwise(input, actions, a => Console.WriteLine(a));
else
{
(actions, _) = Solver.Crafty.Solver.SearchOneshot(input, actions);
foreach (var action in actions)
Console.Write($">{action.IntName()}");
Console.WriteLine();
}
}
}