change tables id

This commit is contained in:
Gnieark 2015-12-15 12:41:49 +01:00
parent ac590f6314
commit 9029fa6840
2 changed files with 6 additions and 3 deletions

View File

@ -65,10 +65,12 @@ function battleship(bot1,bot2,gridWidth,gridHeight,nbShip1,nbShip2,nbShip3,nbShi
//alert(xhr.responseText); //alert(xhr.responseText);
try{ try{
var boats = JSON.parse(this.responseText); var boats = JSON.parse(this.responseText);
//for for( var player=1; player <= 2 ; player ++){
}
} }
catch(e){ catch(e){

View File

@ -5,4 +5,5 @@ td{min-width: 15px; height: 15px;}
.battleshipGrid{float: left; border-collapse:collapse; margin: 20px 20px 20px 20px;} .battleshipGrid{float: left; border-collapse:collapse; margin: 20px 20px 20px 20px;}
.battleshipGrid tr{} .battleshipGrid tr{}
.battleshipGrid tr td{border: 1px dashed green;} .battleshipGrid tr td{border: 1px dashed green;}
.battleshipGrid tr th{text-align: center;} .battleshipGrid tr th{text-align: center;}
.shipOn{background-color: black;}