A simple implementation of Conway's Game of Life, written in Gleam.
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! ⭐
The project is divided into the following source modules:
And also the following test modules:
- cell_test
- gol_test
- grid_test
- lib_test
- location_test
- neighbourhood_test
- neighbourhoods_test
- ruletest
- ruleset_test
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)
- Gleam – The Gleam programming language
- Gleam Standard Library – Gleam’s standard library
- VSCode – Recommended development environment with relevant extensions (see
.vscode/extensions.json
)
Install dependencies:
gleam install
Run the project:
gleam run
Run tests:
gleam test
See the License file. Licensed under the MIT License.
-- A. Uzan