Skip to content

Ivan1931/gol-rules-haskell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Why?

See this this blog post.

Building

This project has been built with stack haskell build tool. Instructions to install it are provided in the link above.

Install freeglut3: sudo apt-get install freeglut3-devsudo apt-get install freeglut3-dev.

Clone the repo using: git clone https://github.com/Ivan1931/gol-rules-haskell.git

Install stack GHC and it's dependencies run: stack setup

Build the program and install dependencies to stack environment: stack build

Run a repl with all the modules loaded: stack repl

You can run the program with different automatons (assuming in project working directory):

  • Game of life - stack exec sim gol app/blinker.txt
  • Wire world - stack exec sim ww app/ww.txt
  • Wire world combined with game of life - stack exec sim gowwc app/ww.txt

About

A Game of life rules engine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published