diff --git a/js/game_manager.js b/js/game_manager.js index 9264b97003606f51706e1d2e304cb0ecb8afd0e3..f7cb3cf40fadc6199eede652eb5b360c62506d4e 100644 --- a/js/game_manager.js +++ b/js/game_manager.js @@ -79,14 +79,12 @@ GameManager.prototype.move = function (direction) { if (tile) { var pos = self.findFarthestPosition(cell, vector); - console.log(pos); self.moveTile(tile, pos); } }); }); this.addRandomTile(); - console.log(16 - this.grid.availableCells().length); this.actuate(); }; diff --git a/js/html_actuator.js b/js/html_actuator.js index 0e1975b5e93427da284bdaada45196724eb3674c..e966ba460fb5e54f798b085f1d3f04a77e9f89a9 100644 --- a/js/html_actuator.js +++ b/js/html_actuator.js @@ -39,7 +39,6 @@ HTMLActuator.prototype.addTile = function (tile) { if (tile.previousPosition) { window.requestAnimationFrame(function () { - // console.log( + " === " + positionClass); element.classList.remove(element.classList[2]); element.classList.add(self.positionClass({ x: tile.x, y: tile.y })); });