Skip to content
/ gol Public

A simple implementation of Conway's Game of Life, written in Gleam.

License

Notifications You must be signed in to change notification settings

ardauzan/gol

Repository files navigation

Game of Life (GOL)

A simple implementation of Conway's Game of Life, written in Gleam.

Overview

This project is a personal exercise in learning the Gleam programming language by implementing the Game of Life from scratch, without third-party libraries. It is a learning tool and not intended for production use. The code is licensed under MIT and is available at GitHub. Contributions and usage are welcome, but please credit the project if you find it helpful. Don't forget to give it a star if you like it! ⭐

Modules

The project is divided into the following source modules:

And also the following test modules:

Todo

Complete the source modules:

  • Complete cell
  • Complete grid
  • Complete location
  • Complete neighbourhood
  • Complete neighbourhoods
  • Complete rule
  • Complete ruleset

Complete the test modules:

  • Complete cell_test
  • Complete grid_test
  • Complete location_test
  • Complete neighbourhood_test
  • Complete neighbourhoods_test
  • Complete rule_test
  • Complete ruleset_test

Complete the everthing:

  • Complete the project (GOL)

Requirements

  1. Gleam – The Gleam programming language
  2. Gleam Standard Library – Gleam’s standard library
  3. VSCode – Recommended development environment with relevant extensions (see .vscode/extensions.json)

Setup

Install dependencies:

gleam install

Usage

Run the project:

gleam run

Run tests:

gleam test

License

See the License file. Licensed under the MIT License.

-- A. Uzan

About

A simple implementation of Conway's Game of Life, written in Gleam.

Topics

Resources

License

Stars

Watchers

Forks

Languages