Add total mines and flags

This commit is contained in:
Dragon Fire
2021-01-16 17:53:13 -05:00
parent 5d1d0de26f
commit 1bc3756789
+2
View File
@@ -42,6 +42,8 @@ module.exports = class MinesweeperCommand extends Command {
${msg.author}, what coordinates do you pick (ex. 4,5)? Type \`end\` to forefeit.
Type \`flag <coordinates>\` to flag a spot as a bomb. To remove a flag, run it again.
**Total Mines:** ${size + 1}
**Flagged:** ${flagged.length}
${this.displayBoard(game.board, game.mask, flagged)}
`);
const filter = res => {