1
0
Fork 0
mirror of https://github.com/dancojocaru2000/ai-project-idastar.git synced 2025-02-23 00:49:34 +02:00

Added delay in order to stop terminal flickering

This commit is contained in:
Kenneth Bruen 2021-12-02 00:16:52 +02:00
parent 743a45a7d0
commit 521c4be3ac
Signed by: kbruen
GPG key ID: C1980A470C3EE5B1

View file

@ -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();