Dan Anglin
30792f25b0
The Maze class stored a 2-dimensional grid of Cells. When the Maze is initialised, the Cell's are created and drawn onto the canvas.
14 lines
209 B
Python
14 lines
209 B
Python
from graphics import Window
|
|
from maze import Maze
|
|
|
|
|
|
def main():
|
|
window = Window(800, 800)
|
|
|
|
_ = Maze(10, 10, 39, 39, 20, 20, window)
|
|
|
|
window.wait_for_close()
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|