update js

master
sundowndev 2017-12-09 04:32:02 +01:00
parent 46ef071b34
commit b74d6cabb5
1 changed files with 2 additions and 3 deletions

View File

@ -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");