Skip to content

farayolaj/gol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Game of Life

This is a game of life simulation written in Go. I had first written one in Python, but could not remember where I saved it, so I built another in Go. It takes in initial state in a CSV form. The CSV file can contain fields of 1 or 0, where 1 means alive and 0 means dead. There are some sample files in /patterns

Usage

  1. Make sure you have Go installed and set up. You can check here to do that.
  2. Run the following:
go run main.go <path-to-csv>
# For example:
go run main.go patterns/gosper_glider.csv

About

Game of Life simulation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages