

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Still calibrating
click for more info
Not enough gems
Cost: 6 gems
1: Maze Class
incomplete
2: Maze Tests
incomplete
3: Break Entrance and Exit
incomplete
4: Break Walls
incomplete
This lesson's interactive features are locked, please to keep using them
Now you should have a full grid drawn on the screen, like this.
Now it's time to start removing ("breaking") some walls so that we have an actual maze. We'll start with the entrance and exit.
has_top_wall = False (the entrance)self._draw_cell() after each removal to update the displayIf you run your code graphically, it won't appear to actually remove any walls. That's because they were already drawn to the canvas, and removing the wall in memory doesn't update the canvas. Let's fix that.