crystal_brain

Version, currently main branch1 version
  • main branchlatestJun 2, 2024

github.com/shane-mason/crystal_brain

Implementation of Brians Brain in Crystal Lang

5 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  crystal_brain:
    github: shane-mason/crystal_brain
    branch: main

main is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
>= 1.11.2
License
MIT
Author
your-name-here <your-email-here>
Target
  • crystal_brain from src/crystal_brain.cr

Dependencies

This version declares no dependencies.

README

crystal_brain

An implementation of Brians Brain written in the Crystal programming language.

Among the first systems to simulate life-like behaviour, Cellular Automaton are abstract, discreet computational systems based on basic 'rules of life' that can display complex emergent behaviour. These emergent behaviour have been used to model behaviours and solve problems in physics, chemistry, cryptography and many other fields.

Installation

  • Clone repo
  • Install crystal-lang and run from command line.

Usage

The following command line options are supported:

-v, --version                    Show version
-h, --help                       Show help
-i ITERS, --iterations ITERS     Iteration count
-r SIZE, --rowsize SIZE          Board size on the x axis
-c SIZE, --colsize SIZE          Board size on the y axis
-t TIME, --time TIME             Animation sleep time

Development

TODO: Write development instructions here

Contributing

  1. Fork it (https://github.com/shane-mason/crystal_brain/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors