mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-05 22:01:54 +02:00
Fix
This commit is contained in:
@@ -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');
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user