3 ms·
Also wraps around if the pile gets too big to fit in the frame.
by UncleEntity 4y ago
Also wraps around if the pile gets too big to fit in the frame.
- jasonjmcghee 4y agoIt's true! This has to do with how I wrote the "belowLeft" and "belowRight" variables. I don't ensure they are in the same row. You can do this by taking a pair of indices, dividing by width and flooring and checking for equality.