Initial Dijkstra algorithm for the map, but doesn't quite work right. The walls in the wall_map are not accounted for in the algorithm.
This commit is contained in:
parent
d7b1cf0bf9
commit
4d748d1f48
5 changed files with 143 additions and 1 deletions
3
main.cpp
3
main.cpp
|
@ -24,6 +24,9 @@ std::array<std::string, 6> tiles = {
|
|||
"##########",
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
int main() {
|
||||
using namespace ftxui;
|
||||
std::string reset_position;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue