This commit is contained in:
Dragon Fire
2020-04-09 18:06:39 -04:00
parent 37cb18ff18
commit 8d51b2fee2
+2 -2
View File
@@ -143,7 +143,7 @@ module.exports = class DotsAndBoxesCommand extends Command {
displayBoard(board, taken, owned) {
const displayed = [];
displayed.push(new Array(24).fill('█').join(''));
displayed.push('\n');
displayed.push('█ █');
board.map((values, row) => {
if (row !== 0) {
let takenMids = '█ ';
@@ -162,8 +162,8 @@ module.exports = class DotsAndBoxesCommand extends Command {
return val;
}).join('')}█`);
});
displayed.push(new Array(24).fill('█').join(''));
displayed.push('\n');
displayed.push(new Array(24).fill('█').join(''));
return displayed.join('\n');
}
};