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,
cibley = y2,
emplacement = document.querySelector(".line-"+ciblex+" .col-"+cibley);
emplacement.classList.add('cible');
cibleValue = cibleValue + 1;
<<<<<<< HEAD
emplacement.classList.add('cible');
cibleValue = cibleValue + 1;
if (cibleValue>=4){
// game over
console.log("TAS PERDU");