This project aims to generate randomized dungeon like maps procedurally for use in games.
- Clone the project.
git clone https://github.com/cemasma/procedural-map-generation
-
Install SDL2 https://wiki.libsdl.org/SDL2/Installation
-
Build the project.
mkdir build && cd build && cmake .. && make
- Run the executable.
./procedural-map-generation 20 20
The first argument is required for the row count and the second one is for column.
./procedural-map-generation 20 20
./procedural-map-generation 10 10
./procedural-map-generation 10 20