From 5b443bb457cf8a00d86ab7a9e1abfe7b1c233fdd Mon Sep 17 00:00:00 2001 From: Gnieark Date: Mon, 20 Jun 2016 18:51:58 +0200 Subject: [PATCH] . --- src/arenas/Battleship/js.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/arenas/Battleship/js.js b/src/arenas/Battleship/js.js index d73fe56..9b37617 100644 --- a/src/arenas/Battleship/js.js +++ b/src/arenas/Battleship/js.js @@ -132,6 +132,7 @@ function battleship(bot1,bot2,gridWidth,gridHeight,nbShip1,nbShip2,nbShip3,nbShi } } for (var i = 1; i < grids['logs'].lenght; i++) { + alert (grids['logs'][i]); var p=createElem("p"); p.innerHTML=grids['logs'][i]; document.getElementById('logs').appendChild(p);