Fix that one mistake in get()

This commit is contained in:
Dorian HAMDANI
2025-03-31 17:21:09 +02:00
parent e88a503e7a
commit efa626ef77

View File

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