tracks => traces

This commit is contained in:
2024-05-30 10:11:01 +02:00
parent b8d6216feb
commit dc966a8ddd
2 changed files with 3 additions and 3 deletions

View File

@@ -18,7 +18,7 @@ Based on: https://youtu.be/FWSR_7kZuYg?si=ix1dmo76D8AmF25F
* flexible parameters as grid and cell size * flexible parameters as grid and cell size
* colors can be inverted * colors can be inverted
* evolution tracks can be shown, with age the cells color fades and * evolution traces can be shown, with age the cells color fades and
old life cells will be drawn in red old life cells will be drawn in red
* game grid lines can be enabled or disabled * game grid lines can be enabled or disabled
* game speed can be adjusted on startup and in-game * game speed can be adjusted on startup and in-game
@@ -61,7 +61,7 @@ Usage of ./golsky:
-p, --paused do not start simulation (use space to start) -p, --paused do not start simulation (use space to start)
-f, --rle-file string RLE pattern file -f, --rle-file string RLE pattern file
-r, --rule string game rule (default "B3/S23") -r, --rule string game rule (default "B3/S23")
-s, --show-evolution show evolution tracks -s, --show-evolution show evolution traces
-t, --ticks-per-generation int game speed: the higher the slower (default: 10) (default 10) -t, --ticks-per-generation int game speed: the higher the slower (default: 10) (default 10)
-v, --version show version -v, --version show version
-W, --width int grid width in cells (default 40) -W, --width int grid width in cells (default 40)

View File

@@ -177,7 +177,7 @@ func ParseCommandline() (*Config, error) {
pflag.BoolVarP(&config.NoGrid, "nogrid", "n", false, "do not draw grid lines") pflag.BoolVarP(&config.NoGrid, "nogrid", "n", false, "do not draw grid lines")
pflag.BoolVarP(&config.Empty, "empty", "e", false, "start with an empty screen") pflag.BoolVarP(&config.Empty, "empty", "e", false, "start with an empty screen")
pflag.BoolVarP(&config.Invert, "invert", "i", false, "invert colors (dead cell: black)") pflag.BoolVarP(&config.Invert, "invert", "i", false, "invert colors (dead cell: black)")
pflag.BoolVarP(&config.ShowEvolution, "show-evolution", "s", false, "show evolution tracks") pflag.BoolVarP(&config.ShowEvolution, "show-evolution", "s", false, "show evolution traces")
pflag.BoolVarP(&config.Wrap, "wrap-around", "w", false, "wrap around grid mode") pflag.BoolVarP(&config.Wrap, "wrap-around", "w", false, "wrap around grid mode")
pflag.BoolVarP(&config.UseShader, "use-shader", "k", false, "use shader for cell rendering") pflag.BoolVarP(&config.UseShader, "use-shader", "k", false, "use shader for cell rendering")