Download Latest Version emal-0.0.234-anycpu-20250131.zip (428.8 kB)
Email in envelope

Get an email when there's a new version of EMal

Home / subprojects / GameOfLife
Name Modified Size InfoDownloads / Week
Parent folder
GiocoDellaVita.emal 2025-01-31 9.1 kB
GameOfLife.emal 2025-01-31 7.1 kB
README.txt 2025-01-25 919 Bytes
Totals: 3 Items   17.2 kB 0
Conway's Game of Life

This subproject has the goal to code the well known Game of Life algorithm in EMal.

The details of this cellular automaton can be checked at https://en.wikipedia.org/wiki/Conway's_Game_of_Life

If you need help understanding the code you can find information at my blog:
https://www.lanky.eu/blog.lanky.eu/index.php?controller=post&action=view&id_post=20

Once downloaded the script, you can lunch it with the following syntax:

emal.exe GameOfLife.emal generations initial_pattern

Where "generations" argument defaults to 100 and is self-explanatory. 
The "initial_pattern" can be "seed" or "gun".

"seed" is the initial pattern present at the Wikipedia page.
"gun" is the Gosper's glider gun.


There is an italian version, that can be launched with:

emal.exe GiocoDellaVita.emal generazioni pattern_iniziale

"pattern_iniziale" can be "seme" or "cannone"

Enjoy.
Source: README.txt, updated 2025-01-25