Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/sieep-coding/game-of-life-lua

The famous Conway's Game of Life Simulation written in Lua, with customizable parameters.
https://github.com/sieep-coding/game-of-life-lua

game-of-life lua

Last synced: 7 days ago
JSON representation

The famous Conway's Game of Life Simulation written in Lua, with customizable parameters.

Awesome Lists containing this project

README

        

# Game of Life in Lua

![License: UNLICENSE](https://img.shields.io/badge/License-UNLICENSE-blue.svg)

This is a Lua-based implementation of Conway's Game of Life.

The project generates a grid universe where cells evolve over time based on specific rules for survival, reproduction, and death.

# See it in action
![](https://github.com/Sieep-Coding/game-of-life-lua/blob/main/lua-gol.gif)

## Features

- Customizable grid size (N x M)
- Random initial state generation with "X" representing live cells
- Neighbors-based cell evolution rules
- Simple Lua code structure

## How to Use

`git clone https://github.com/Sieep-Coding/game-of-life-lua`

`cd game-of-life-lua`

`lua main.lua`

## More Info

This is a 1 to 1 recreation of another project of mine. I learned a lot of Go when I made it, so this is to teach myself lua.

View my original project written in Go [here.](https://github.com/Sieep-Coding/game-of-life/blob/main/main.go)