Some fix:

- entry/exit negatif
- checker if output file already exist
- config.txt commentary
- maze min size for ft logo generation
- unperfect maze compliance
This commit is contained in:
2026-04-04 21:18:42 +02:00
parent 21e9aba95f
commit e137389216
5 changed files with 61 additions and 14 deletions
+4 -1
View File
@@ -1,3 +1,5 @@
import os
import sys
from typing import Any
from numpy.typing import NDArray
from AMazeIng import AMazeIng
@@ -482,9 +484,10 @@ def main() -> None:
"""Run the maze application."""
mlx = None
try:
mlx = MazeMLX(1600, 2000)
os.system("cls" if os.name == "nt" else "clear")
config = Parsing.get_data_maze("config.txt")
amazing = AMazeIng(**config)
mlx = MazeMLX(1600, 2000)
mlx.start(amazing)
amazing.export_maze()
except Exception as err: