Skip to content

A Bevy-compatible crate for generating and rendering 2D mazes dynamically.

Notifications You must be signed in to change notification settings

0xb-s/Bevy-Maze

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Maze Grid Library

A Bevy-compatible crate for generating and visualizing mazes in 2D. It uses the recursive backtracking algorithm to generate perfect mazes and renders them dynamically.

Usage

use bevy::prelude::*;
use maze_grid::{MazePlugin, MazeConfig};

fn main() {
    App::new()
        .add_plugins(DefaultPlugins)
        .add_plugin(MazePlugin)
        .insert_resource(MazeConfig::new(10, 10))
        .run();
}

Features

  • Recursive backtracking for perfect maze generation.
  • Configurable maze size using MazeConfig.
  • Dynamic rendering of walls and cells with Bevy sprites.

License

This project is licensed under the MIT License.

About

A Bevy-compatible crate for generating and rendering 2D mazes dynamically.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages