Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 907 Bytes

README.md

File metadata and controls

21 lines (13 loc) · 907 Bytes

Brian's Brain

This is an implementation of the Brian's Brain cellular automaton.

Installation

  1. Install Kotlin 1.3.
  2. 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

Usage

  1. cd brians-brain
  2. <GRADLE> --args="<ROWS> <COLUMNS> <STEPS>", where <GRADLE> is gradle.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 2s indicating "off", "dying", and "on" cells respectively.

License

This project is under the MIT License.