Skip to content

Functional Conway's Game of Life implementation using immutable sets

License

Notifications You must be signed in to change notification settings

bbjubjub2494/conway.sc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Terminal-based Conway's Game Of Life Simulator

Features

  • Can be run with Lanterna's terminal emulator
  • Pass arbitrary initial grid in RLE notation
  • Infinite grid
  • View can scroll

Setup

Install Ammonite, then invoke ./conway at the command line. You should see the classic Gosper Glider Gun appear and start evolving.

Usage

Try ./conway -p RPentomino to see the famous methuselah, or ./conway -p Copperhead to see the (relatively) recently arrived spaceship. Use ./conway 'b2o$o2bo$b2o' to supply your own RLE pattern. For more options, check the built-in help ./conway --help.

History

Originated from a Python gist of mine inspired by this conference.

About

Functional Conway's Game of Life implementation using immutable sets

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages