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:
parent
743a45a7d0
commit
521c4be3ac
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue