09-27-2020, 01:46 PM
Has anyone taken a look yet? It seems definitely buggy for the selection to do what it is doing.
What if any thing is conceptually wrong about my code? I was trying to find a way to test for connectivity, by applying the technique I used in Abrobad - which was to fill in with opponent's pieces before counting how many groups the opponent has. - But in this case, I need to back out if the test fails.
Instead of working properly, the pieces are not filling entirely, and also not backing out.
What if any thing is conceptually wrong about my code? I was trying to find a way to test for connectivity, by applying the technique I used in Abrobad - which was to fill in with opponent's pieces before counting how many groups the opponent has. - But in this case, I need to back out if the test fails.
Instead of working properly, the pieces are not filling entirely, and also not backing out.