diff --git a/commands/games-mp/dots-and-boxes.js b/commands/games-mp/dots-and-boxes.js index b2d2d2c2..164b0b6b 100644 --- a/commands/games-mp/dots-and-boxes.js +++ b/commands/games-mp/dots-and-boxes.js @@ -117,7 +117,7 @@ module.exports = class DotsAndBoxesCommand extends Command { calcSquare(num, taken) { return taken.includes(`${num}-${num + 1}`) - && taken.includes(`${num}-${num - 5}`) + && taken.includes(`${num - 5}-${num}`) && taken.includes(`${(num + 1) - 5}-${num + 1}`) && taken.includes(`${num - 5}-${(num - 5) + 1}`); }