change tables id
This commit is contained in:
parent
ac590f6314
commit
9029fa6840
|
@ -65,10 +65,12 @@ function battleship(bot1,bot2,gridWidth,gridHeight,nbShip1,nbShip2,nbShip3,nbShi
|
|||
//alert(xhr.responseText);
|
||||
try{
|
||||
var boats = JSON.parse(this.responseText);
|
||||
//for
|
||||
|
||||
for( var player=1; player <= 2 ; player ++){
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
catch(e){
|
||||
|
|
|
@ -5,4 +5,5 @@ td{min-width: 15px; height: 15px;}
|
|||
.battleshipGrid{float: left; border-collapse:collapse; margin: 20px 20px 20px 20px;}
|
||||
.battleshipGrid tr{}
|
||||
.battleshipGrid tr td{border: 1px dashed green;}
|
||||
.battleshipGrid tr th{text-align: center;}
|
||||
.battleshipGrid tr th{text-align: center;}
|
||||
.shipOn{background-color: black;}
|
Loading…
Reference in New Issue
Block a user