Skip to content
How can I make a map using characters in python?
Profile icon
samuelitokono

I am trying to make a small game in python, something like a text based rpg but, i would like to add a map that is randomly generated,how can i make this map to save its initial zone but to randomly generate more characters?

You are viewing a single comment. View All
Profile icon
[deleted]

You would have to make an algorithm to generate the maps. I'm not sure how to do it, you could try looking it up

Profile icon
samuelitokono
Profile icon
[deleted]

@samuelitokono
https://github.com/theJollySin/mazelib is a good resource for maze generation algorithms. It also has a built in maze generators

Profile icon
samuelitokono

Thx man, I'll check it out

@maazzubair99