add print

This commit is contained in:
unknown 2024-05-05 16:59:28 +03:00
parent 9fa2289bf7
commit a29162493f

View File

@ -112,6 +112,7 @@ export default {
let cell = this.minesweeperGrid.board.board[row][col];
if (cell) {
if (cell.isFlagged === 1) {
console.log("yazan");
return " F";
} else if (cell.isRevealed === true) {
return String(cell.nearbyMines); // Convert to string before returning