module
Version:
v0.0.0-...-79f35f8
Opens a new window with list of versions in this module.
Published: Sep 22, 2019
License: MIT
Opens a new window with license information.
README
¶
go-terrain-gen
A simple terrain generator in Go, for shits and giggles
Blogposts
-
Part 1:
Explore the concept behind the terrain generator, and write down the
pseudocode and convert it into a very rudimentary Go program
-
Part 2:
Refactor the Go code into using structs and methods to make adding features
easier, and add CLI flags to control variables such as map size
-
Part 3:
Better map visualisation: Added colours and shading to output of map to
terminal
-
Part 4:
Explore how to assign values to adjacent map elements, introduce randomness
in the form of cliff probability
Directories
¶
Click to show internal directories.
Click to hide internal directories.