Hey Lucas, thanks so much for this, it's really helping me out! However, I'm trying to figure out how to place an item for the player to get to as a reward, at the furthest away dead end from the single entrance I'm using. Any idea how you'd do that? I've tried utilizing the DEAD_END variable in the recursive version but there seems to be loads of them and I can't figure out how to just use one. Any help would be really appreciated!
Thanks,
Graeme