This is an Procedural Game Map Generation Algorithm that outputs natural-looking game environments. The algorithm is designed to generate flexible and customizable maps.
Have Python3 environment and Pygame Library installed to run the map visualization locally.
Clone the repo to your local folder
git clone https://github.com/zhixuanevelynwu/random_island_generator.git
On your terminal, navigate to the project folder and run
python3 show_map.py
You will get a randomly generated visualization window. At this point, you can use "S" key to generate a completed map with all islands, desert, and mountain elements:
OR
You may use "I" key to first generate islands:
"M" key to generate mountains:
Then, "D" key to generate deserts and beaches:
Whenever you want a brand new map, type "N".
Use "F" key to save a map to the folder.
To tweak the parameters and generate different looking maps, go to automaton.py file and modify the init function. Below are some examples of maps generated using different parameters: