playable2
This commit is contained in:
@@ -34,10 +34,7 @@ public class GomokuCell{
|
|||||||
}
|
}
|
||||||
|
|
||||||
public boolean isPlayable(){
|
public boolean isPlayable(){
|
||||||
for (GomokuCell var : this.neighbour.values()) {
|
return this.neighbour.size() > 0;
|
||||||
if (var.isPlayed()) return true;
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user