From the course: Python Data Structures and Algorithms

Unlock the full course today

Join today to access over 24,800 courses taught by industry experts.

Navigate the GUI

Navigate the GUI

- [Instructor] In the last video, we looked at the game mode of the GUI. In this video, we're going to look at the explore mode. So I'm going to close off maze_gui_game.py and instead open up maze_gui_explore.py. And I'm also going to go into configure and select a different maze. So the way you do that is you comment out the one that you don't want, and then the one that you do want, you can select, and let's do diagonal 23 by 23. I'm using the keyboard shortcut there, control forward slash. You could, in principle, just do it by deleting the pound sign but that's a little bit more once you know the keyboard shortcut. So we've now selected a different maze file. Now if I was to do control F 10 from this file, it would actually treat this as the entry point for the project, and we're trying to run this file, which wouldn't do much. So if you're going to do control F 10, you want to do it from your main file, so control F 10. Now the way this works is I can click to place my treasure…

Contents