game_of_life

command
v0.0.0-...-93f9cd5 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2021 License: MIT Imports: 8 Imported by: 0

README

Conway's Game of Lfe

Created by Nathan Leniz. Inspired by and heavily uses the doc

The Game of Life, also known simply as Life, is a cellular automaton devised by the British mathematician John Horton Conway in 1970. The "game" is a zero-player game, meaning that its evolution is determined by its initial state, requiring no further input. One interacts with the Game of Life by creating an initial configuration and observing how it evolves, or, for advanced "players", by creating patterns with particular properties. The Game has been reprogrammed multiple times in various coding languages.

For more information, please see the wikipedia article.

Use

go run main.go -h
  -frameRate duration
      The framerate in milliseconds (default 33ms)
  -size int
      The size of each cell (default 5)
  -windowSize float
      The pixel size of one side of the grid (default 800)

life

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package life manages the "game" state Shamelessly taken from https://golang.org/doc/play/life.go
Package life manages the "game" state Shamelessly taken from https://golang.org/doc/play/life.go

Jump to

Keyboard shortcuts

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