mirror of https://github.com/sundowndev/Detank.git
update js
parent
46ef071b34
commit
b74d6cabb5
|
@ -212,9 +212,8 @@ var ntm = setInterval(function(){
|
||||||
var ciblex = x2,
|
var ciblex = x2,
|
||||||
cibley = y2,
|
cibley = y2,
|
||||||
emplacement = document.querySelector(".line-"+ciblex+" .col-"+cibley);
|
emplacement = document.querySelector(".line-"+ciblex+" .col-"+cibley);
|
||||||
emplacement.classList.add('cible');
|
emplacement.classList.add('cible');
|
||||||
cibleValue = cibleValue + 1;
|
cibleValue = cibleValue + 1;
|
||||||
<<<<<<< HEAD
|
|
||||||
if (cibleValue>=4){
|
if (cibleValue>=4){
|
||||||
// game over
|
// game over
|
||||||
console.log("TAS PERDU");
|
console.log("TAS PERDU");
|
||||||
|
|
Loading…
Reference in New Issue