mirror of
https://github.com/maoakeEnterprise/amazing.git
synced 2026-04-28 16:04:35 +02:00
Compare commits
2 Commits
4d5662c248
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 0bd43d21a5 | |||
| f5131f0e01 |
@@ -1,5 +1,4 @@
|
||||
import os
|
||||
import sys
|
||||
from typing import Any
|
||||
from numpy.typing import NDArray
|
||||
from AMazeIng import AMazeIng
|
||||
|
||||
+5
-5
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user