After I added the new porc algorithm suddenly everything broke horribly. After a thorough investigation I found out that graphmanager started shifting metal spots around randomly, causing mexes to be placed off center and other shenanigans. The only thing I changed in graph manager was to add getMexes() (a one liner), which I wasn't using originally when it started breaking. It doesn't throw errors consistently, but sometimes it shows array out of bounds.
After I added the new porc algorithm suddenly everything broke horribly. After a thorough investigation I found out that graphmanager started shifting metal spots around randomly, causing mexes to be placed off center and other shenanigans. The only thing I changed in graph manager was to add getMexes() (a one liner), which I wasn't using originally when it started breaking. It doesn't throw errors consistently, but sometimes it shows array out of bounds.