Skip to content

Maze Project: Add “Draw Path to Exit” Feature #192

Description

@venisha-kalola

Project slug (e.g., snake, todo)

maze

Summary

Enhance the Maze project by adding a “Draw to Exit” mode that allows users to manually draw a path from the maze entrance to the exit using the mouse or touch input. The drawn path should visually appear on the maze grid and can optionally check if the user’s drawn path is valid (i.e., reaches the exit without crossing walls).

Details / Acceptance criteria

Add a toggle/button: “Draw to Exit Mode.”

When active, users can click and drag (or touch) to draw a path on the maze.

The path is highlighted (e.g., blue or glowing line).

Optionally, validate if the drawn path correctly connects the start and exit cells.

Include a “Clear Path” button to reset the drawn path.

Responsive and works for both desktop (mouse) and mobile (touch).

Smooth drawing and minimal lag even on larger mazes.

Scope

  • UI changes
  • Logic changes
  • Accessibility
  • Tests (manual)

Activity

  1. Nischay-loq commented on Oct 27, 2025

    @Nischay-loq
    Contributor

    @venisha-kalola I request u to assign this issue to me

  2. Nischay-loq commented on Oct 27, 2025

    @Nischay-loq
    Contributor

    @venisha-kalola
    i have raised the pr go through it and if it is correct merge it at it's earliest as this would be helpful for my hacktoberfest event

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions