Search⌘ K
AI Features

Testing and Tweaking

Explore how to test and refine circular mazes built on polar grids by adjusting grid boundaries and implementing algorithms such as Recursive Backtracker. This lesson helps you improve maze appearance and functionality by resolving adjacency issues and avoiding redundant code.

The final step

We’re on the final stretch. All that’s left is to test what we’ve got, then tweak one final thing so the finished product looks as good as we can make it.

Our existing polar_grid_test.rb won’t work right now because we’re instantiating the PolarGrid with too many arguments. So, we'll create a new test file to run PolarGrid. ...