This commit is contained in:
Aubin DORIVAL
2025-03-31 11:54:23 +02:00
parent d944ec282c
commit 2eb2dd373c
2 changed files with 2 additions and 3 deletions

View File

@@ -52,8 +52,7 @@ public class GomokuBoard{
nextLine = new GomokuCell(colors == null ? Color.NIL: colors[i+1][0]);
GomokuCell.link(act, nextLine, Cardinal.S);
}
for (int j = 1; j < width; j++) {
for (int j = 0; j < width; j++) {
if (top != null) {
GomokuCell.link(act, top.getNeighbour(Cardinal.W), Cardinal.NW);
GomokuCell.link(act, top, Cardinal.N);