Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small rooms aren't always built correctly #32

Open
matt-dray opened this issue Dec 28, 2022 · 0 comments
Open

Small rooms aren't always built correctly #32

matt-dray opened this issue Dec 28, 2022 · 0 comments
Labels
bug 🐛 Something isn't working

Comments

@matt-dray
Copy link
Owner

For example, a 4 by 4 room won't always have walls all around the edge. Possibly because of placing actors/items?

game_map <- .make_dungeon(
  iterations = 5, n_row = 4, n_col = 4, n_rooms = 5, is_snake = FALSE, is_organic = TRUE
)

.cat_map(game_map, is_colour)

Results in:

a # # # 
$ E @ # 
. . . # 
# # # # 

Could enforce room dimensions to be above a certain size.

@matt-dray matt-dray added the bug 🐛 Something isn't working label Dec 28, 2022
@matt-dray matt-dray changed the title Small rooms aren't built correctly Small rooms aren't always built correctly Dec 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant