RoomBuilder (rbr) is a pure POSIX sh library to create "rooms" for the upcoming mia roguelike
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Mia a3fb93bb05
change from MIT to UnLicense
3 weeks ago
rng@f7ca8a4cb2 positional logic doing good... but need to make pos() for corners due to issues with generation of secondary lines 6 months ago
.gitignore 0.0.3 -- just adds back state system 5 months ago
.gitmodules get listgen() half working; make ptui obsolete (??); shit is slow as balls lol (idk why aaaaaa) 6 months ago
LICENSE change from MIT to UnLicense 3 weeks ago
README make actually posix compat -- dash shell handles unicode weirdly -- fixed 5 months ago README 3 months ago
env WIP v0.0.2; most changes are for room detection 6 months ago
gen.env emergency commit -- wip 5 months ago
rbase emergency commit -- wip 5 months ago
rgrid emergency commit -- wip 5 months ago

# rbr
-- a room builder for the upcoming mia roguelike
# Algorithm
-- rbr uses a drunkard walk style algorithm for its generation atm
-- it should be noted that this algorithm is extremely slow in it's current form
-- in the future i may attempt new algorithms but this works for now
# caveats
-- generating a ""unique"" room requires some access to a PRNG (pseudorandom number generator)
-- building a pure software one would likely be a painful task in pure sh
-- as such this project uses `/dev/urandom` and some self made logic along with an edited LCG algorithm
-- to generate random numbers (see psh-prng)
# exit codes
-- 10: generic rgrid errors
-- 12: typelist errors
--- 13: empty $2 in listr()
# notes
-- a nerdfonts compatible font should be used
-- please clone with `--recursive` as this project depends on the submods to operate