12
u/sirmonko Feb 26 '20
I'm more talking about getting a program to generate a map in a similar ascii art style.
so, this is actually two parts: map generation and map display (rendering). they're pretty much independent; you could also generate a 3d world out of the map or use an isometric view.
the map rendering here is the easy part - almost trivial compared to the generation.
with an ascii map, you have a limited way of representing the tile and what's on it:
the ascii character
the ascii characters' base color (hue)
the ascii characters' saturation/brightness
the background color (not used here)
possibly animation (i.e. displaying different aspects over time)
dwarf fortress creates a ton of information about its maps, more than any other computer game. among other things:
elevation, temperature, rainfall
which leads to rivers, influences erosion
which leads to flora and fauna
and thus settlements, buildings, roads, mines, artefacts, etc.
and all this over time (thousands of years) as the history of the world
it's far more nuanced than that.
anyway, once the map is generated you look at each part (square) and decide what to represent there, as your palette is rather limited. here we see the ascii characters and color mostly displaying vegetation/biomes (greens are tropical and temperate forests, brown are probably swamps, gray are mountains, blue is, of course, water. on tiles featuring special entities like cities, rivers or roads, those are displayed instead.
51
u/MyPunsSuck Feb 26 '20
To my recollection, they modeled geological forces themselves; up to and including soil erosion. Similar results are possible by much much simpler means