https://github.com/jotaviobiondo/elixir-game-of-life
Conway's Game of Life implementation to learn Elixir.
https://github.com/jotaviobiondo/elixir-game-of-life
elixir game-of-life learning
Last synced: 6 months ago
JSON representation
Conway's Game of Life implementation to learn Elixir.
- Host: GitHub
- URL: https://github.com/jotaviobiondo/elixir-game-of-life
- Owner: jotaviobiondo
- Created: 2020-05-05T17:13:49.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-10-05T21:29:49.000Z (about 1 year ago)
- Last Synced: 2025-03-26T13:53:44.059Z (7 months ago)
- Topics: elixir, game-of-life, learning
- Language: Elixir
- Size: 4.75 MB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Conway's Game of Life
[](https://github.com/jotaviobiondo/elixir-game-of-life/actions)A [Game of Life](https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life) implementation to learn Elixir.
## Usage
### Requirements
- [Elixir 1.17](https://elixir-lang.org/install.html)Install the dependencies:
```
mix deps.get
```### Running Tests
Execute the following command to run the tests:
```
mix test
```### Running the CLI
To run the CLI, execute the following script:
```
./run-cli.sh
```The CLI accepts the following optional arguments:
- `--generations` or `-g`: The number of generations (iterations). Default: 5.
- `--grid-size` or `-s`: The size of the grid. Default: 10.## TODO
- [ ] Web interface with phoenix LiveView.