Skip to main content
Commonmark migration
Source Link

I need an algorithm that can generate mazes with these requirements:

  • Allows for random structures to be made (Ex: a center spawn area, objective points and 'Caverns (corridors with 2 or more entrances and a width > 1)' )

  • Generates paths from structures to required connections

  • Can be implemented in Python with relatively little difficulty

  • No extra modules (unless supports Python 3.5.5)

As an example, the objectives would look like this in game (I use integers to store the walls in the ray caster):


2 2 2 2

 

2 0 0 2

 

2 0 0 2

 

2 2 2 2


I also tried looking on wikipedia and I found this semi-helpful link but none have helped me achieve this so far.

I need an algorithm that can generate mazes with these requirements:

  • Allows for random structures to be made (Ex: a center spawn area, objective points and 'Caverns (corridors with 2 or more entrances and a width > 1)' )

  • Generates paths from structures to required connections

  • Can be implemented in Python with relatively little difficulty

  • No extra modules (unless supports Python 3.5.5)

As an example, the objectives would look like this in game (I use integers to store the walls in the ray caster):


2 2 2 2

 

2 0 0 2

 

2 0 0 2

 

2 2 2 2


I also tried looking on wikipedia and I found this semi-helpful link but none have helped me achieve this so far.

I need an algorithm that can generate mazes with these requirements:

  • Allows for random structures to be made (Ex: a center spawn area, objective points and 'Caverns (corridors with 2 or more entrances and a width > 1)' )

  • Generates paths from structures to required connections

  • Can be implemented in Python with relatively little difficulty

  • No extra modules (unless supports Python 3.5.5)

As an example, the objectives would look like this in game (I use integers to store the walls in the ray caster):


2 2 2 2

2 0 0 2

2 0 0 2

2 2 2 2


I also tried looking on wikipedia and I found this semi-helpful link but none have helped me achieve this so far.

Post Closed as "Duplicate" by Pikalek, CommunityBot, DMGregory
fixed typos
Source Link
Pikalek
  • 13.4k
  • 5
  • 49
  • 54

I need an algorithm that can generate mazes with these requirements:

  • Allows for random structures to be made  (Ex: a center spawn area, objective points and 'Caverns  (corridors with 2 or more entrances and a width > 1)' )

  • Generates paths from structures to required connections

  • Can be implemented in pythonPython with relatively little difficulty

  • No extra modules  (unless supports Python 3.5.5)

asAs an example, the objectives would look like this in game  (iI use integers to store the walls in the ray caster):


2 2 2 2

2 0 0 2

2 0 0 2

2 2 2 2


I also tried looking on wikipedia and I found this semi-helpful link but none have helped me achieve this so far.

I need an algorithm that can generate mazes with these requirements:

  • Allows for random structures to be made(Ex: a center spawn area, objective points and 'Caverns(corridors with 2 or more entrances and a width > 1)' )

  • Generates paths from structures to required connections

  • Can be implemented in python with relatively little difficulty

  • No extra modules(unless supports Python 3.5.5)

as an example, the objectives would look like this in game(i use integers to store the walls in the ray caster):


2 2 2 2

2 0 0 2

2 0 0 2

2 2 2 2


I also tried looking on wikipedia and I found this semi-helpful link but none have helped me achieve this so far.

I need an algorithm that can generate mazes with these requirements:

  • Allows for random structures to be made  (Ex: a center spawn area, objective points and 'Caverns  (corridors with 2 or more entrances and a width > 1)' )

  • Generates paths from structures to required connections

  • Can be implemented in Python with relatively little difficulty

  • No extra modules  (unless supports Python 3.5.5)

As an example, the objectives would look like this in game  (I use integers to store the walls in the ray caster):


2 2 2 2

2 0 0 2

2 0 0 2

2 2 2 2


I also tried looking on wikipedia and I found this semi-helpful link but none have helped me achieve this so far.

Source Link

Non-Perfect maze generation with objectives

I need an algorithm that can generate mazes with these requirements:

  • Allows for random structures to be made(Ex: a center spawn area, objective points and 'Caverns(corridors with 2 or more entrances and a width > 1)' )

  • Generates paths from structures to required connections

  • Can be implemented in python with relatively little difficulty

  • No extra modules(unless supports Python 3.5.5)

as an example, the objectives would look like this in game(i use integers to store the walls in the ray caster):


2 2 2 2

2 0 0 2

2 0 0 2

2 2 2 2


I also tried looking on wikipedia and I found this semi-helpful link but none have helped me achieve this so far.