<commit_before># Roguelike-Dungeon-Generator
Generate a 2-Dimesional array of rooms connected with passages.

## License
This project is licensed under MIT license.

## Acknowledgments
Method of generating rooms inspired by <NAME>'s article, [Rooms and Mazes: A Procedural Dungeon Generator](http://journal.stuffwithstuff.com/2014/12/21/rooms-and-mazes/).<commit_msg>Updated usage<commit_after># Roguelike-Dungeon-Generator
Generate a 2-Dimesional array of rooms connected with passages.

## Usage
Once **DungeonGenerator.js** is included in your project, a global object Dungeon will be available. It has a method **generate** that takes the dimensions of the dungeon, number of attempts to draw rooms and the minimum and maximum size of the rooms.

Example of usage:

  `let dungeon = Dungeon.generator(size, attempts, minRoomSize, maxRoomSize);`

Sample code [here](https://codepen.io/aneesa_saleh/pen/KvaJKL).

## License
This project is licensed under MIT license.

## Acknowledgments
Method of generating rooms inspired by <NAME>'s article, [Rooms and Mazes: A Procedural Dungeon Generator](http://journal.stuffwithstuff.com/2014/12/21/rooms-and-mazes/).
{'fraction_non_alphanumeric': 0.09310344827586207, 'fraction_numerical': 0.015517241379310345, 'mean_word_length': 5.275675675675676, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2665446', 'n_tokens_mistral': 357, 'n_tokens_neox': 329, 'n_words': 124}