maze-core 0.0.2

Generate and solve maze
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use maze_core::square::Maze2DConfig;

#[test]
fn ready() {
    println!("it works!")
}

#[test]
fn test() {
    let config = Maze2DConfig::default().with_size(5, 5);
    for (i, maze) in config.build_dfs().enumerate() {
        println!("Maze #{}", i);
        println!("{}", maze);
    }
}