Skip to content

Commit

Permalink
Remove some console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldoylecs committed Dec 3, 2024
1 parent d008cde commit 5f6360f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/minesweeper/minesweeper-game.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ export class MinesweeperGame {
}
if (tile.adjacentBombCount === 0) {
this._board = this.propagateEmptyTiles(this._board, x, y);
console.log(this._board);
}
}

Expand Down Expand Up @@ -154,7 +153,6 @@ export class MinesweeperGame {
private propagateEmptyTiles(board: BoardTile[][], x: number, y: number): BoardTile[][] {
const visitedCoords = new Set<string>();
let toVisit = this.getAdjacentTiles(board, x, y);
console.log(`toVisit: ${toVisit}`)

while (toVisit.length > 0) {
const [currX, currY] = toVisit.pop()!;
Expand Down

0 comments on commit 5f6360f

Please sign in to comment.