✨ Handling winning game

This commit is contained in:
alexis committed 2024-02-18 18:05:04 +01:00
1 parent 049110e15e
commit 1377c3a8fa
2 files changed
+60 -9

No files matched your search

-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 };
}