This is an implementation of the Brian's Brain cellular automaton.
- Install Kotlin 1.3.
- Clone the repository using one of the following methods.
- SSH:
git clone git@github.com:neelkamath/brians-brain.git
- HTTPS:
git clone https://github.com/neelkamath/brians-brain.git
- SSH:
cd brians-brain
<GRADLE> --args="<ROWS> <COLUMNS> <STEPS>"
, where<GRADLE>
isgradle.bat
if you're on Windows, and./gradlew
on *nix,<ROWS>
and<COLUMNS>
are the number of rows and columns in the grid, and<STEPS>
are the number of time steps to generate.
The program will print 0
, 1
, and 2
s indicating "off", "dying", and "on" cells respectively.
This project is under the MIT License.