Skip to content

harrygr/gol-elm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Game of Life in Elm

This is an implementation of Conway's Game of Life written in Elm.

screenshot

It renders a resizeable playing board whose state can be evolved by clicking the button.

Individual cells can be toggled dead or alive by clicking them.

Demo

Live demo here

Setup

You'll need Elm installed to build this.

Build

There is no special build tooling. The Elm compiler is used to spit out a .js file.

elm make src/Main.elm --output=main.js

The html is static and expects a main.js to exist in its directory. The files can then be served by any http server.

There is a build script that will compile and copy the relevent files into a build directory. Just run ./build.sh and point your webserver at build/.

About

Game of Life, written in Elm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published