This commit is contained in:
Gnieark 2015-12-17 16:13:08 +01:00
parent 30cd1bc199
commit 7366926906

View File

@ -39,7 +39,7 @@ function battleship(bot1,bot2,gridWidth,gridHeight,nbShip1,nbShip2,nbShip3,nbShi
||((longestShip > gridWidth) && (longestShip > gridHeight))
){
alert ("Map is too small. Grow it or reduce ships");
break;
return;
}