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