go-terrain-gen

module
v0.0.0-...-79f35f8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 22, 2019 License: MIT

README

go-terrain-gen

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

Path Synopsis
part4 module

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL