diff --git a/Readme.md b/Readme.md index 1f758a3..2a261bf 100644 --- a/Readme.md +++ b/Readme.md @@ -10,4 +10,6 @@ Please feel free to fork and make comments/suggestions! Thanks! ![maze](https://raw.github.com/felipecsl/random-maze-generator/master/maze.png) +![solved maze](https://raw.github.com/felipecsl/random-maze-generator/master/solution.png) + ![specs](https://raw.github.com/felipecsl/random-maze-generator/master/specs.png) \ No newline at end of file diff --git a/maze.png b/maze.png index 45bec8e..125da6f 100644 Binary files a/maze.png and b/maze.png differ diff --git a/solution.png b/solution.png new file mode 100644 index 0000000..431c426 Binary files /dev/null and b/solution.png differ diff --git a/src/maze.js b/src/maze.js index 39a387c..b565d7b 100644 --- a/src/maze.js +++ b/src/maze.js @@ -3,8 +3,8 @@ var Maze = function(doc, elemId) { this.width = this.canvas.width; this.height = this.canvas.height; this.ctx = this.canvas.getContext('2d'); - this.horizCells = 20; - this.vertCells = 20; + this.horizCells = 30; + this.vertCells = 30; this.generator = new MazeGenerator(this.horizCells, this.vertCells); this.cellWidth = this.width / this.horizCells; this.cellHeight = this.height / this.vertCells;