Handling winning game

This commit is contained in:
2024-02-18 18:05:04 +01:00
parent 049110e15e
commit 1377c3a8fa
2 changed files with 60 additions and 9 deletions
-1
View File
@@ -166,7 +166,6 @@ export const startGame = (grid: GridType, difficulty: Difficulty, needEmpty: boo
} while (grid[rowIndex][colIndex].value !== 'empty');
grid = genNumbers(grid);
// console.log(grid, bombsCount);
return { grid, bombsCount };
}