Maze solving with wall follower algorithm [left-hand rule]

Поделиться
HTML-код
  • Опубликовано: 13 сен 2024
  • How to solve a maze with wall follower method.
    github.com/fer...

Комментарии • 33

  • @fundayswithfox6706
    @fundayswithfox6706 3 года назад +172

    I love how casually it strolls right past the exit

    • @TechnoKnight2520
      @TechnoKnight2520 Год назад +18

      That's the algorithm.
      It ignores the obvious, so it follows the pattern it was set with no matter what.

    • @BrotherBot3000
      @BrotherBot3000 Год назад +21

      *looks over*
      oh my god! The end! Freedom!
      *sees path*
      well, my maze solving knowledge says to stay on the left, soooooooo. . .

    • @lewismackay9533
      @lewismackay9533 Год назад +2

      Yeah I think it should always have the parameter that if it comes in to contact with the exit no matter what it stops.

    • @aguywithgames3135
      @aguywithgames3135 Год назад +4

      Looking for loot it seems.

    • @contessa.adella
      @contessa.adella Год назад

      No…because it was the entrance. You assume, being human, that entrance and exit are equivalent. The rule does not. Also if there is only one entrance/exit the rule takes you the the centre of the maze…then back out to that exit.

  • @samuels1123
    @samuels1123 Год назад +29

    This is why its harder to solve a maze when inside the maze than above the maze

  • @-TheBugLord
    @-TheBugLord Год назад +31

    *sees exit*
    The algorithm: "Must follow wall at all costs!"

  • @megaclodsire
    @megaclodsire Год назад +6

    *takes the first left*
    "this little maneuver is gonna cost us 51 years"

  • @jonathanschmitt5762
    @jonathanschmitt5762 Год назад +42

    1:50 This is pain.

  • @KyryloKyrychenko
    @KyryloKyrychenko Год назад +6

    What i understood froma this both experements is that the respective hand rule fully explores the area on the respective side of the diagonal between exits. So for the average maze with exits on opposite sides the complexity will be N , as N - exploring the whole maze once.

  • @channelnamehere8924
    @channelnamehere8924 Год назад +6

    "Today! We put a tracking device in someone's arm and forced them through a maze, they have to keep their left hand on the wall, or else!"

  • @purplekey9330
    @purplekey9330 Год назад +4

    This really helped me understand why the left hand rule works. It's less riding the left wall, and more "Trying every path from left to right". If you go the wrong way, you follow the left wall there, then you cycle backwards with the right (now left), until the point of error and repeat

  • @Coyotek4
    @Coyotek4 Год назад +3

    Now I *really* wanna play "Maze Craze" on the Atari 2600 again!

  • @skittles8186
    @skittles8186 Год назад +3

    This is really satisfying ngl

  • @xqiuvmah
    @xqiuvmah Год назад +1

    0:47 a human would have known it was on the wrong path and started over, saving minutes of time

    • @plebiain
      @plebiain Год назад +1

      Not if they were inside the maze and didn't know how far they'd walked, in what direction, and/or how big the maze was

  • @mlvluu9836
    @mlvluu9836 Год назад +7

    Coud this be improved by avoiding areas enclosed by what has already been crossed?

    • @GAND-OZZ
      @GAND-OZZ Год назад +1

      Actually, that wouldn’t work, because what if the exit is inside that enclosed space?

    • @mlvluu9836
      @mlvluu9836 Год назад

      @@GAND-OZZ Simply don’t count the wall with the exit as a boundary that can enclose.

    • @link7417
      @link7417 Год назад +1

      @@mlvluu9836 well that defeats the purpose of a algorithm, ofcourse you have path finding algorithms that do know where its target is like A* but if you wanna solve a maze that may not be the case,

  • @nzqarc
    @nzqarc Год назад +1

    The best way to escape a maze

  • @clasherofclans1482
    @clasherofclans1482 Год назад

    So the secret sauce to solve any maze in real life is to carry two colors - Blue and green.

  • @spencersonnefeld
    @spencersonnefeld Год назад

    Had to fill in everything above and to the right of the actual path.

  • @hamidou6627
    @hamidou6627 5 лет назад +2

    Can you help me to make it with python?

  • @4U70_DeadAuto
    @4U70_DeadAuto Год назад

    This is how I solve a maze

  • @rezistencee
    @rezistencee 3 года назад +4

    gj

  • @hail1647
    @hail1647 11 месяцев назад

    me sleep dream wall follow

  • @realkingofantarctica
    @realkingofantarctica Год назад

    Wallflower