need to fix the unperfect maze and add the function in the kruskal generator

This commit is contained in:
Maoake TERIIEROOITERAI
2026-03-26 00:58:07 +01:00
parent 24748c47ad
commit 5aec319f7b
6 changed files with 41 additions and 45 deletions
+2 -2
View File
@@ -8,8 +8,8 @@ from src.amaz_lib import Maze, MazeGenerator, MazeSolver
class AMazeIng(BaseModel):
model_config = ConfigDict(arbitrary_types_allowed=True)
width: int = Field(ge=3)
height: int = Field(ge=3)
width: int = Field(ge=4)
height: int = Field(ge=4)
entry: tuple[int, int]
exit: tuple[int, int]
output_file: str = Field(min_length=3)