Maze Generation Fail
#1

First off, I'm going to say I'm very close to having it complete.

Just when I thought I had it I noticed a few things:
  1. It only creates two outer walls.
  2. It causes an eternal loop, which I terminate.
  3. The output is incomplete (probably because I terminate the infinite loop).
  4. Not all sections are connected.
Here is the ouput:

Here is the entire script:
EDIT: I moved it to a github repository to make it easier to interact with your fixes. https://github.com/Crayder/Maze-Generator

Here is the console output (proof of the broken loop):
Quote:
Originally Posted by console
[|] =======================================
[|] | |
[|] | YSI version 3.09.0684 |
[|] | By Alex "******" Cole |
[|] | |
[|] =======================================
[|]
[|] Index[1] = Force Break
[|] Number of vehicle models: 0
Play with it if you want to help, I'd really appreciate it. I have no idea what the problem is. I thought I covered the walls bug, but obviously as show in the picture it's not fixed.

If this is fixed I plan on adding it to my Lego Box thing here.

EDIT: I should also mention, the larger the size, the more 'force break's there are. Also when the size is bigger index 2 is also forced broken many times.
Reply


Messages In This Thread
Maze Generation Fail - by Crayder - 08.03.2015, 06:45
Re: Maze Generation Fail - by Misiur - 08.03.2015, 13:48
Re: Maze Generation Fail - by Crayder - 08.03.2015, 16:46
Re: Maze Generation Fail - by Misiur - 08.03.2015, 17:01
Re: Maze Generation Fail - by Crayder - 08.03.2015, 17:39
Re: Maze Generation Fail - by Misiur - 08.03.2015, 17:58
Re: Maze Generation Fail - by Crayder - 08.03.2015, 18:02
Re: Maze Generation Fail - by Crayder - 09.03.2015, 17:10
Re: Maze Generation Fail - by Misiur - 09.03.2015, 18:49
Re: Maze Generation Fail - by Crayder - 09.03.2015, 18:58

Forum Jump:


Users browsing this thread: 1 Guest(s)