playable2

This commit is contained in:
Aubin DORIVAL
2025-03-24 10:49:12 +01:00
parent d08019bf75
commit 613db14f3d

View File

@@ -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;
}
}