# Parlife: a Parallel implementation of Conway's Game of Life

## Author: Adam Fowler
## Uni: AJF2177
## Collaborators: None
## References:
* https://lbarasti.com/post/game_of_life/
* https://stackoverflow.com/questions/20331209/haskell-unit-testing
* https://chrispenner.ca/posts/conways-game-of-life
* https://blog.jayway.com/2020/10/26/cellular-automaton-in-haskell-i-conways-game-of-life/
* https://docs.haskellstack.org/en/stable/README/#how-to-install
* https://towardsdatascience.com/from-scratch-the-game-of-life-161430453ee3
* http://pi.math.cornell.edu/~lipa/mec/lesson6.html
* https://stackoverflow.com/questions/52891751/picking-a-random-element-from-a-list
* https://stackoverflow.com/questions/12224842/haskell-parmap-and-parallelism
* http://www.serpentine.com/criterion/

## Instructions
* To build simply run `stack build` in the root directory of the package
* To run the test suite run `stack test`
* To run the simulation run `stack run` 

N.B. To change the number of iterations the user would need to change the driver code in app/Main.hs
