jnickg / dungen-core

.NET Core implementation of DunGen
GNU General Public License v2.0
0 stars 0 forks source link

Correct math in LinearRecursiveDivision algorithm #49

Closed jnickg closed 3 years ago

jnickg commented 3 years ago

Overview

Fixes #40.

This PR merges changes to dungen to correct the issue, dungen-cli to add new flags to the generator go predicate to enable debugging, and dungen-site to add another instance of LinearRecursiveDivision to the site's palette.

The re was a math error causing total closures, as the south or eastmost tiles could be selected for being filled in, and the algorithm fills walls by walling up south and east borders.