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

View File

@@ -33,4 +33,11 @@ public class GomokuCell{
return neighbour; return neighbour;
} }
public boolean isPlayable(){
for (GomokuCell var : this.neighbour.values()) {
if (var.isPlayed()) return true;
}
return false;
}
} }