From 671c49217c2beb8becfa2a430fbb4d0d89106ca6 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Fri, 15 Jan 2021 19:47:29 -0500 Subject: [PATCH] Fix --- commands/games-sp/minesweeper.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/commands/games-sp/minesweeper.js b/commands/games-sp/minesweeper.js index 3f98129e..c9788390 100644 --- a/commands/games-sp/minesweeper.js +++ b/commands/games-sp/minesweeper.js @@ -86,12 +86,10 @@ module.exports = class MinesweeperCommand extends Command { displayBoard(board, mask) { let str = ''; - str += '⬛⬛'; + str += '⬛'; str += nums.slice(0, board.length).join(''); - str += `\n${'⬛'.repeat(board.length + 2)}\n`; for (let i = 0; i < board.length; i++) { str += nums[i]; - str += '⬛'; board[i].forEach((item, j) => { if (mask[i][j]) { if (item === '*') {