Skip to content

Conversation

Ujjansh05
Copy link

Implementation

This adds a dynamic maze visualization tool that demonstrates a BFS (Breadth-First Search) algorithm solving a maze in real-time. The visualizer features:

  • A solver moving step-by-step toward a target.
  • Dynamic obstacles that randomly appear or disappear.
  • A moving target that changes position every few frames.
  • A breadcrumb trail showing the solver’s path history.
  • A visual overlay of visited nodes and the currently computed path.
  • Animated plotting with colors, transparency, and smooth updates for a visually appealing effect.

The animation clearly shows how BFS explores the maze and adapts to changes, making it both educational and visually engaging.

Additional information

  • The animation uses matplotlib with FuncAnimation for frame updates.
  • Configurable parameters include step delay, target move interval, and obstacle change probability.
  • The maze, start, and target positions are customizable.
@Ujjansh05
Copy link
Author

Ujjansh05 commented Oct 9, 2025

@AtsushiSakai pls review my implementation if any changes needed pls suggest

@AtsushiSakai
Copy link
Owner

Could you please paste the animation gif here?

@AtsushiSakai AtsushiSakai requested a review from Copilot October 10, 2025 14:49
@AtsushiSakai
Copy link
Owner

@codex review

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a dynamic maze visualization tool that demonstrates the BFS algorithm solving a maze in real-time with animated features including a moving solver, dynamic obstacles, and a moving target.

  • Implements a complete BFS maze solver with real-time visualization using matplotlib
  • Adds dynamic elements including randomly changing obstacles and a moving target
  • Features visual enhancements like breadcrumb trails, visited node overlays, and smooth animations

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link

Codex Review: Didn't find any major issues. Bravo.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

@Ujjansh05
Copy link
Author

Ujjansh05 commented Oct 10, 2025

ezgif com-crop

here is the video any changes you want pls suggest !!! Thank you for consideration @AtsushiSakai

@Ujjansh05
Copy link
Author

@AtsushiSakai pls review this PR so that I can work further if any change need !!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants