2 Commits

Author SHA1 Message Date
da7e 0bd43d21a5 remove con.txt 2026-04-07 11:17:45 +02:00
Maoake Teriierooiterai f5131f0e01 finish the norm 2026-04-06 18:17:45 +02:00
4 changed files with 7 additions and 8 deletions
-1
View File
@@ -1,5 +1,4 @@
import os import os
import sys
from typing import Any from typing import Any
from numpy.typing import NDArray from numpy.typing import NDArray
from AMazeIng import AMazeIng from AMazeIng import AMazeIng
+5 -5
View File
@@ -1,8 +1,8 @@
WIDTH=9 WIDTH=15
HEIGHT=7 HEIGHT=15
ENTRY=1,1 ENTRY=2,1
EXIT=4,5 EXIT=3,5
OUTPUT_FILE=con.txt OUTPUT_FILE=con.txt
PERFECT=False PERFECT=False
GENERATOR=Kruskal GENERATOR=DFS
Solver=AStar Solver=AStar
-1
View File
@@ -1,6 +1,5 @@
from abc import ABC, abstractmethod from abc import ABC, abstractmethod
from typing import Generator, Any from typing import Generator, Any
from mazegen import Maze
import numpy as np import numpy as np
from numpy.typing import NDArray from numpy.typing import NDArray
from mazegen.Cell import Cell from mazegen.Cell import Cell
+2 -1
View File
@@ -12,7 +12,8 @@ class DataMaze:
with open(name_file, "r"): with open(name_file, "r"):
while True: while True:
res = input( 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": if res == "y":
break break