Skip to content

Commit

Permalink
Added solved maze screenshot
Browse files Browse the repository at this point in the history
  • Loading branch information
felipecsl committed Jun 23, 2012
1 parent b08a0d5 commit bb95962
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Binary file modified maze.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added solution.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/maze.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit bb95962

Please sign in to comment.