When chance generates a maze with not enough chambers, the filling algorithm always fills the chambers first, giving a somewhat uneven experience (sometimes other corners of the maze appear completely empty). I’m not completely against these mazes, I just think that they are generated too often.
We should maybe adapt the algorithm such that we don’t start with the filling of the chambers but assign the chamber nodes a different priority according to chamber nodes/non-chamber nodes ratio. That way we would at least not fill them up all the time. (rng.sample can take a counts= argument, so this could be easily tested out.)
On top of that, we may want to use an algorithm that leads to less clustering of the food pellets but that’s secondary.
(Maybe we should even have different filling algorithms and every time a different one is selected.)
When chance generates a maze with not enough chambers, the filling algorithm always fills the chambers first, giving a somewhat uneven experience (sometimes other corners of the maze appear completely empty). I’m not completely against these mazes, I just think that they are generated too often.
We should maybe adapt the algorithm such that we don’t start with the filling of the chambers but assign the chamber nodes a different priority according to chamber nodes/non-chamber nodes ratio. That way we would at least not fill them up all the time. (
rng.samplecan take acounts=argument, so this could be easily tested out.)On top of that, we may want to use an algorithm that leads to less clustering of the food pellets but that’s secondary.
(Maybe we should even have different filling algorithms and every time a different one is selected.)