Skip to content

Toy project implementing Conway's Game of Life using Haskell and comonads.

License

Notifications You must be signed in to change notification settings

joha2nes/conway-comonad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

conway-comonad

This project implements Conway's Game of Life (https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life) using Haskell and the comonad class. The game is made from an infinite grid with bool values that tells if a cell is dead or alive, and is visualized on the command prompt.

conway-comonad demo

This was just a toy project for me to understand more about comonads, so there is some room for improvements, such as optimization. For example, because the grid is infinite the memory usage is increased for each update until the process ends.

About

Toy project implementing Conway's Game of Life using Haskell and comonads.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published