Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 960 Bytes

README.md

File metadata and controls

36 lines (27 loc) · 960 Bytes

conway_life

My first project in Gleam :) ! This is my attempt of writing Conway's Game of Life in Gleam.

conway

Running program

To run the program, please clone this repo and run these commands

git clone https://github.com/jooaf/conway_gleam.git 
cd conway_gleam 
gleam run

Note: You will need to have Elixir installed on your machine.

CLI

Welcome to Conway's Game of Life!

USAGE:
    conway_life [ ARGS ] [ --board_size=<INT> --cell_size=<INT> --n_iter=<INT> ]

FLAGS:
    --board_size=<INT>    n x n size of the board
    --cell_size=<INT>     Size of the cell
    --help                Print help information
    --n_iter=<INT>        Number of iterations to run the simulation  

Here is an example of how to run the program

gleam run -- --board_size=40 --cell_size=4 --n_iter=50