add print
This commit is contained in:
parent
9fa2289bf7
commit
a29162493f
|
|
@ -112,6 +112,7 @@ export default {
|
||||||
let cell = this.minesweeperGrid.board.board[row][col];
|
let cell = this.minesweeperGrid.board.board[row][col];
|
||||||
if (cell) {
|
if (cell) {
|
||||||
if (cell.isFlagged === 1) {
|
if (cell.isFlagged === 1) {
|
||||||
|
console.log("yazan");
|
||||||
return " F";
|
return " F";
|
||||||
} else if (cell.isRevealed === true) {
|
} else if (cell.isRevealed === true) {
|
||||||
return String(cell.nearbyMines); // Convert to string before returning
|
return String(cell.nearbyMines); // Convert to string before returning
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user