I wrote another post for printing the grid with unicode box characters. My second attempt to achieve this is to extend the grid with a one cell frame of “phantom” cells around the grid. With this frame of phantom cells I’d only need to run the loop once and all the edge printing will be taken care of.
The question that I have is how to implement the assignment method = in my code.
I upload it in Github, so anybody that’s interested in it can take a look.
ruby -I. _binary.rb to run the mazes with the unicode
to_s. The original is now
to_s0 and my other attempt is
to_s1. The error happens in line 170 of
Thanks a bunch.