diff --git a/a_maze_ing.py b/a_maze_ing.py index 5f3b7ff..eb4af3b 100644 --- a/a_maze_ing.py +++ b/a_maze_ing.py @@ -1,5 +1,4 @@ import os -import sys from typing import Any from numpy.typing import NDArray from AMazeIng import AMazeIng diff --git a/con.txt b/con.txt new file mode 100644 index 0000000..ed2f107 --- /dev/null +++ b/con.txt @@ -0,0 +1,19 @@ +BD5155579139553 +A93815556AC6916 +C6A869513C152C3 +95469696C383C3A +8391696956C292A +AC6AF856FFFC06A +8392FC5157F9296 +86AAFFFAFFFAA83 +856C53FAFD502AA +C39392FAFFFC2AA +96AC6C3A951386A +83C5516C696AA96 +A8393C515692AC3 +8686C53A956C692 +C545556C4555546 + +2,1 +3,5 +EESSSWWWSESEN diff --git a/config.txt b/config.txt index e293d85..4db3c15 100644 --- a/config.txt +++ b/config.txt @@ -1,8 +1,8 @@ -WIDTH=9 -HEIGHT=7 -ENTRY=1,1 -EXIT=4,5 +WIDTH=15 +HEIGHT=15 +ENTRY=2,1 +EXIT=3,5 OUTPUT_FILE=con.txt PERFECT=False -GENERATOR=Kruskal +GENERATOR=DFS Solver=AStar diff --git a/src/mazegen/MazeGenerator.py b/src/mazegen/MazeGenerator.py index dd8aa21..dbab330 100644 --- a/src/mazegen/MazeGenerator.py +++ b/src/mazegen/MazeGenerator.py @@ -1,6 +1,5 @@ from abc import ABC, abstractmethod from typing import Generator, Any -from mazegen import Maze import numpy as np from numpy.typing import NDArray from mazegen.Cell import Cell diff --git a/src/parsing/Parsing.py b/src/parsing/Parsing.py index c80716b..fe32068 100644 --- a/src/parsing/Parsing.py +++ b/src/parsing/Parsing.py @@ -12,7 +12,8 @@ class DataMaze: with open(name_file, "r"): while True: res = input( - f"{name_file} already exist. Data will be erased. Continue ? (y/n)" + f"{name_file} already exist. Data will" + " be erased. Continue ? (y/n)" ) if res == "y": break