game-of-life

command module
v0.0.0-...-9cd1ddc Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2024 License: MIT Imports: 4 Imported by: 0

README

Game of Life

Conway's Game of Life implementation in Go using the Ebiten engine

Installing

go mod download

Running

go run main.go

There is also a way to generate cells randomly:

go run main.go --random <chance>

Where <chance> is an integer number between 0 and 100, e.g.

go run main.go --random 30

Controls

  • P: Pause/Resume
  • I: Interactive Mode (left mouse click to create cells)
  • R: Clear cells
  • A: Generate cells randomly
  • +: Increase zoom
  • -: Decrease zoom

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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