Skip to content

Instantly share code, notes, and snippets.

View TheRealMichaelWang's full-sized avatar

Michael Wang TheRealMichaelWang

  • Atlanta, Georgia
  • 14:36 (UTC -05:00)
View GitHub Profile
@TheRealMichaelWang
TheRealMichaelWang / conways.min
Created August 8, 2021 03:27
Conways Game of Life in Minima
include "random.min"
rem Instance of one game of conways game of life
record cell_batch {
matrix
epoch
rem initializes an instance with a specified number of cells and rows
proc init (rows, cols) {
set this.epoch to 0