Go_of_Life

command module
v0.0.0-...-551d02a Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 License: MIT Imports: 2 Imported by: 0

README

Go of Life

Simple implementation of Conway's Game of Life written in Go using the raylib library.

Requirements

Installation

go install github.com/Xotchkass/Go_of_Life@master
Go_of_Life

or

go clone https://github.com/Xotchkass/Go_of_Life
cd Go_of_Life
go build
./Go_of_Life

Controls

  • Left mouse button to paint a live cells
  • Right mouse button to paint dead cells
  • R key randomizes the grid
  • C key clears the grid
  • N key advances simulation a single generation if game is paused
  • Spacebar pauses/resumes simulation
  • +/- keys to increase/decrease simulation speed
  • Esc key to quit

Credits

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