Prim Grid

by ACWraith
Prim mazes on a grid. Identify/remove dead ends. [More]
To download this library for your Linux/Mac installation, enter this on your command line:

DreamDownload byond://ACWraith.PrimGrid##version=2

Emulator users, in the BYOND pager go to File | Open Location and enter this URL:

byond://ACWraith.PrimGrid##version=2

103 downloads
Version 2
Date added: Mar 30 2011
Last updated: Mar 19 2012
3 fans
THIS LIBRARY IS OBSOLETE! It is left online merely so those with old projects still have access.

Please use my Directional Grid library instead. Differences include:
  • DG offers a direct grid2d_Grid derivative with a cleaner interface.
  • Edge wrapping can be toggled at will instead of on creation/reset.
  • Connections can be made manually with coordinates and/or directions rather than bits or hidden indices.
  • Prim's algorithm is still provided, but whether or not the connections reciprocate can be determined within each proc call.
  • Various cell categories can be identified and gathered.