The canvas now has a black background.
Added the new MapDecorator.js which i'm going to use later!
The game now holds the MapFactory and MapDecorator!
Added some comments and enters to the extend function.
Render system get's his settings from the maps settings!
Changed the settings.
The map now holds a settings object instead of a lot of properties with settings.
Removed almost everything from the mapFactory and started building it again!
Added the mersenne twister for a seedable random number generator.
Dungeon entrance is now available in the propFactory.
The mapFactory generates the entrance entity in the first room.
Added a maxMainRooms setting.
Game now initializes the decoration of the first map.
Maps are now generated with a random seed each time, this allows me to quickly see many maps and reproduce them with the console logged seed.
Added old corridor functions back into the object and added new room generation functions.
PropFactory now includes the exit object.
RoomFits function now also checks if the room is within the dimensions of the map.
Added old functions back into the new MapDecorator.
Added even more statements to the if else that is responsible for auto-tiling!
Small changes to seed and maximum amount of rooms.