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

Hint: You can adjust the default video playback speed in your account settings.
Hint: You can set your subtitle preferences in your account settings.
Sorry! Looks like there’s an issue with video playback 🙁 This might be due to a temporary outage or because of a configuration issue with your browser. Please see our video player troubleshooting guide to resolve the issue.

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:

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?

Darren Jones RP Team on July 11, 2023

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

tschwa24 on July 11, 2023

Great! Looking forward to it!

Become a Member to join the conversation.