An open API service indexing awesome lists of open source software.

https://github.com/ermanimer/gameoflife

Conway's Game Of Life Implementation In Go
https://github.com/ermanimer/gameoflife

Last synced: 5 months ago
JSON representation

Conway's Game Of Life Implementation In Go

Awesome Lists containing this project

README

          

# gameoflife

[![Go](https://github.com/ermanimer/gameoflife/actions/workflows/go.yml/badge.svg?branch=main)](https://github.com/ermanimer/gameoflife/actions/workflows/go.yml)
[![Go Report Card](https://goreportcard.com/badge/github.com/ermanimer/gameoflife)](https://goreportcard.com/report/github.com/ermanimer/gameoflife)

Implementation of [Conway's Game of Life](https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life) in Go.

*Works only on Unix-like systems.*

# Instalation

```zsh
go install github.com/ermanimer/gameoflife@latest
```

# Help

```zsh
gameoflife -h
```

# Sample Usage

Run gameoflife with input filename **./inputs/pulsar.txt** and with **2 fps** playback speed.

```zsh
gameoflife -i ./inputs/pulsar.txt -s 2
```

# Sample Output

![Pulsar](outputs/pulsar.gif)