I forgot I did this back in … 2020? Ok this might have been during the pandemic.
Source code here.
Basically this is an implementation of Bob Nystrom’s modified random placement/maze generation algorithm.
Looking at the code recently (when porting the logic to Go) I noticed a lot of just … crap code. Its due a rewrite. Maybe when I get the courage to look at C++23…