@ -169,7 +169,7 @@ public class BShip {
public class ShipsPlacedReader implements Runnable {
public void run() {
while (grid1 == null && grid2 == null) {
while (grid1 != null && grid2 != null) {
while (!shipsPlaced) {
synchronized (lock) {
try {