command
module
Version:
v0.0.0-...-af0b51f
Opens a new window with list of versions in this module.
Published: May 15, 2017
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
go-game-of-life
Conway's Game of Life1 written in Go using Pixel 2D Game Library2.
Demo
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
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.