mirror of
https://github.com/maoakeEnterprise/amazing.git
synced 2026-04-28 16:04:35 +02:00
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:
+4
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user