life

package module
v0.0.0-...-51350e7 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2023 License: MIT Imports: 12 Imported by: 0

README

Life

Implementation of Conway’s “Game of Life”.

Note

The idea is to implement something similar to ConwayLife in Go.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	Game   *game
	Preset *presets
	Theme  *themes
}

func NewApp

func NewApp(w, h int, file string) (*App, error)

type RGB

type RGB struct {
	// contains filtered or unexported fields
}

func NewRGB

func NewRGB(r, g, b uint8) RGB

func (RGB) Color

func (c RGB) Color() (uint8, uint8, uint8)

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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