remove debug logging
--- a/js/game_manager.js
+++ b/js/game_manager.js
@@ -79,14 +79,12 @@
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();
};
--- a/js/html_actuator.js
+++ b/js/html_actuator.js
@@ -39,7 +39,6 @@
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 }));
});