Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
gorbachovam00 committed Dec 16, 2024
1 parent e494ab3 commit 56fa09a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/modules/Game.class.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ class Game {
* If passed, the board will be initialized with the provided
* initial state.
*/

STATUSES = {
IDLE: 'IDLE',
IN_PROGRESS: 'IN_PROGRESS',
Expand All @@ -28,8 +27,6 @@ class Game {
this.board = initialState || this.generateEmptyBoard();
this.score = 0;
this.status = this.STATUSES.IDLE;
// this.addRandomTile();
// this.addRandomTile();
}

generateEmptyBoard() {
Expand All @@ -52,7 +49,6 @@ class Game {
if (this.status !== this.STATUSES.IN_PROGRESS) {
return;
}

this.move(this.compress(this.board));
}

Expand Down

0 comments on commit 56fa09a

Please sign in to comment.