From 7b454476a87912fa7cb7cea3b47af9d9c629834f Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 10 May 2019 13:55:19 +0900 Subject: [PATCH] :v: --- src/modules/maze/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/maze/index.ts b/src/modules/maze/index.ts index aeadfb3..235c90a 100644 --- a/src/modules/maze/index.ts +++ b/src/modules/maze/index.ts @@ -85,7 +85,7 @@ const cellVariants = { } }; const imageSize = 2048; // px -const margin = 256; +const margin = 192; const mazeAreaSize = imageSize - (margin * 2); const themes = [{ @@ -198,7 +198,7 @@ export default class extends Module { private genMize(seed) { const rand = gen.create(seed); - const mazeSize = 10 + rand(21); + const mazeSize = 11 + rand(21); // maze (filled by 'empty') const maze: CellType[][] = new Array(mazeSize);