go-game-of-life

command module
v0.0.0-...-af0b51f Latest Latest
Warning

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

Go to latest
Published: May 15, 2017 License: MIT Imports: 9 Imported by: 0

README

go-game-of-life

Conway's Game of Life1 written in Go using Pixel 2D Game Library2.

Demo


Game Of Life Run

Installation


go get -u github.com/shivakar/go-game-of-life

Usage


To run a Game of Life simulation:

go-game-of-life

Features:

  • Left-click on a pixel to make it alive
  • Alt+Left-click on a pixel to set it to dead
  • Left-click and drag to continuously add live pixels
  • Hold Ctrl key when left-click (and dragging) to reinitialize 11x11 grid around the mouse position
  • Press r to reinitialize
  • Press Space to pause and restart
  • Press c to clear the entire world

License


go-game-of-life is licensed under a MIT license.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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