added main

This commit is contained in:
2026-03-30 09:19:13 -04:00
parent 9ca023025b
commit d4b6db8edf

View File

@@ -42,3 +42,12 @@ def get_neighbors(maze: TurtleMaze, cell: Cell) -> list[Cell]:
neighbors.append(west) neighbors.append(west)
return neighbors return neighbors
def main():
maze = TurtleMaze('maze_1.txt')
start = maze.getStart()
print("Start cell:", start)
neighbors = get_neighbors(maze, start)
print("Neighbors of start:", neighbors)