/gameOfLife

Conway's Game of Life in Haskell

Primary LanguageHaskellBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Conway's Game of Life

An implementation in Haskell :)

Uses gloss to show an NxN sized window

I'm mostly doing this to have something to test out profiling, quickcheck, and build something more meaty in Haskell.

The Naive implementation uses 110 - 130% CPU on my 2015 Macbook Pro (2.9 Ghz 2 core i5), and I want to see how far I can optimize this.

Setup

stack build && stack run <side length> <steps per second>

TODO

  • Naive implementation
  • Random initial grid state
  • CLI option: Steps per second
  • CLI option: Side length for grid
  • Profile for Naive implementation
  • Testing
  • CLI option: Initial grid as CSV file
  • Performance Pass 1

Git workflow

Feature branches off master