def show_help(self):
tkMessageBox.showinfo("Info",
"This is a simple program that takes maze input in form of " +
"an image and solves it using the algorithm of your choice.\n" +
"The program outputs an image with drawn exit path (if the maze is valid).\n" +
"Rules for a valid maze:" +
"\n 1. Everything that is not white will be interpreted as a wall." +
"\n 2. The maze must have one starting point on top, and one exit point in the bottom" +
"\n (if there are multiple entry/exit points, only the first will be used)" +
"\n 3. The maze must be surrounded by walls (i.e. must be \"closed\")" +
"\n 4. It is advisable for the corridors to be 1px wide, but it is not mandatory" +
"\n (the output will be correct for Dijkstra and A*, but not for DFS or BFS)"
)
# About window
评论列表
文章目录