Of use is likely [AISC's maze implementation](https://github.com/JacobPfau/procgenAISC/blob/7821f2c00be9a4ff753c6d54b20aed26028ca812/procgen/src/mazegen.cpp), and the original [maze implementation](https://github.com/openai/procgen/blob/5e1dbf341d291eff40d1f9e0c0a0d5003643aebf/procgen/src/mazegen.cpp).
Of use is likely AISC's maze implementation, and the original maze implementation.