@@ -348,9 +348,9 @@ // Follow the predicted plan. if( plan.empty ) return 'A'; -writeln(plan, " ", plan_state); +stderr.writeln(plan, " ", plan_state); char c = plan[0]; plan = plan[1..$]; current_game.command(c); return c; @@ -391,9 +391,9 @@ } void replan() { -writeln("replan!"); +stderr.writeln("replan!"); // Try to replace every step of the plan by another move. Game g = current_game.clone(); Tuple!(long, SubSolver, string, int) cand = tuple(sub_solver.g.score, sub_solver, plan, Tentative_Stuck);