Skip to content

Commit

Permalink
Updated lines for the algorithms in the README
Browse files Browse the repository at this point in the history
  • Loading branch information
89netraM committed Jun 2, 2021
1 parent 383162d commit ab4bc93
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,31 +10,31 @@ Here is a demonstration of mazes being generated with the various algorithms.

![Animated demo of the algorithm](./animations/dfs.webp)
[Wikipedia](https://en.wikipedia.org/wiki/Maze_generation_algorithm#Randomized_depth-first_search)
[Code](./src/map.rs#L153)
[Code](./src/map.rs#L151)

### Random Binary Tree Maze `--tree`

![Animated demo of the algorithm](./animations/tree.webp)
[Wikipedia](https://en.wikipedia.org/wiki/Maze_generation_algorithm#Simple_algorithms)
[Code](./src/map.rs#L191)
[Code](./src/map.rs#L188)

### Randomized Prim's algorithm `--prim`

![Animated demo of the algorithm](./animations/prim.webp)
[Wikipedia](https://en.wikipedia.org/wiki/Maze_generation_algorithm#Randomized_Prim's_algorithm)
[Code](./src/map.rs#L231)
[Code](./src/map.rs#L222)

### The Aldous-Broder algorithm `--ab`

![Animated demo of the algorithm](./animations/ab.webp)
[Wikipedia](https://en.wikipedia.org/wiki/Maze_generation_algorithm#Aldous-Broder_algorithm)
[Code](./src/map.rs#L268)
[Code](./src/map.rs#L253)

### Recursive Division Method `--div`

![Animated demo of the algorithm](./animations/div.webp)
[Wikipedia](https://en.wikipedia.org/wiki/Maze_generation_algorithm#Recursive_division_method)
[Code](./src/map.rs#L309)
[Code](./src/map.rs#L287)

## Usage

Expand Down

0 comments on commit ab4bc93

Please sign in to comment.