Merge branch 'master' of gitlab.isima.fr:audorival/gomoku

This commit is contained in:
Aubin DORIVAL
2025-03-31 17:46:19 +02:00

View File

@@ -108,9 +108,7 @@ public class GomokuBoard{
public GomokuCell get(int x, int y){ public GomokuCell get(int x, int y){
int i = 0, j = 0; int i = 0, j = 0;
GomokuCell act = this.firstCell; GomokuCell act = this.firstCell;
// System.out.println("x: "+x+" y: "+y);
while (i != x || j != y){ while (i != x || j != y){
// System.out.println("i: "+i+" j: "+j);
Cardinal c = Cardinal.SE; Cardinal c = Cardinal.SE;
if (i < x) i++; if (i < x) i++;
else c = Cardinal.E; else c = Cardinal.E;