crystal_brain
Version, currently main branch1 version
- main branchlatestJun 2, 2024
github.com/shane-mason/crystal_brain
Implementation of Brians Brain in Crystal Lang
Installation
# Add this to your shard.yml
dependencies:
crystal_brain:
github: shane-mason/crystal_brain
branch: mainmain is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
>= 1.11.2- License
- MIT
- Author
- your-name-here <your-email-here>
- Target
crystal_brainfrom 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
- Fork it (https://github.com/shane-mason/crystal_brain/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- your-name-here - creator and maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
main- Seen
- Jun 2, 2024
- Crystal
>= 1.11.2- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/shane-mason/crystal_brain
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 13, 2026
- Synced
- Aug 13, 2026
- Versions
- 1