Join us and get access to thousands of tutorials and a community of expert Pythonistas.

Unlock This Lesson

This lesson is for members only. Join us and get access to thousands of tutorials and a community of expert Pythonistas.

Unlock This Lesson

Mazes in Python: Build and Visualize (Recap)

So far, you’ve successfully built your maze using an object-oriented approach, and you’ve visualized it using scalable vector graphics (SVG). You’ve written a lot of code and should feel a sense of accomplishment!

In the first half of the course, you’ve learned how to:

  • Use an object-oriented approach to represent the maze in memory
  • Visualize the maze and its solution using scalable vector graphics (SVG)

In the second half of the course, you’ll define a specialized binary file format to store the maze on disk, transform the maze into a traversable weighted graph, and use graph search algorithms in the NetworkX library to find the solution.

If you’d like to dive deeper into the features that you’re using in this course series, then check out these video courses:

You might also enjoy reading about the following topics:

Avatar image for tschwa24

tschwa24 on July 8, 2023

This was a very nice intro to SVG and a good refresher/practice session for OO. When can we expect to see Part 2?

Avatar image for Darren Jones

Darren Jones RP Team on July 11, 2023

Thank you! Part 2 is released today, so hopefully you’ll find it as useful!

Avatar image for tschwa24

tschwa24 on July 11, 2023

Great! Looking forward to it!

Become a Member to join the conversation.