Browse Source

Added delay in order to stop terminal flickering

pull/1/head
Kenneth Bruen 3 years ago
parent
commit
521c4be3ac
Signed by: kbruen
GPG Key ID: C1980A470C3EE5B1
  1. 3
      Program.cs

3
Program.cs

@ -1,4 +1,4 @@
using IdaStar; using IdaStar;
string[] labyrinthIN = System.IO.File.ReadAllLines(@"./labyrinth.txt"); string[] labyrinthIN = System.IO.File.ReadAllLines(@"./labyrinth.txt");
@ -61,6 +61,7 @@ algoBoard.AlgorithmStep += (_) => {
} }
Console.ResetColor(); Console.ResetColor();
Console.WriteLine(); Console.WriteLine();
Thread.Sleep(200);
}; };
algoBoard.RunIdaStar(); algoBoard.RunIdaStar();

Loading…
Cancel
Save