Skip to content
This repository has been archived by the owner on Nov 11, 2021. It is now read-only.

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lochungtin authored Sep 1, 2021
1 parent dc62c9d commit da1a884
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/array.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export const cascade = (arr: Array<Array<number>>, direction: Direction): GameCo
let game = cascadeHorizontal( rotate(arr, (direction === Direction.down ? 1 : 0)), Direction.right);
return {
board: rotate(game.board, (direction === Direction.up ? 1 : 0)),
dim: game.score,
dim: game.dim,
score: game.score,
};
}
Expand Down

0 comments on commit da1a884

Please sign in to comment.