Fix that one mistake in get()
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user