How to make a procedurally-generate maze

I’m currently taking on the project of making a maze game on Roblox, and of course, it wasn’t going to be easy. Once again, I’m on the DevForum. Onto the question:

How does procedural-generation work and how can I implement it into my game?

Here’s my game idea: a 6-player, round-based, randomly generated maze escape game. 6 players will try and run away from the murderer, a randomly chosen player, but except it’s in a randomly generated maze. Once they escape before the time runs out, they win. But, if all of them don’t make it in time, or the murderer kills them all, they lose. You can also collect coins, trails, halos, blah blah blah. Pretty simple game design, except for the procedurally-generated maze part.

Some ideas would be appreciated.

You might want to have a look at maze generation algorithms. You’ll need to be able to code, obviously.

Good luck with your project!

1 Like