https://github.com/neelkamath/brians-brain
🧠Implementation of the Brian's Brain cellular automaton
https://github.com/neelkamath/brians-brain
brians-brain cellular-automaton kotlin
Last synced: 7 months ago
JSON representation
🧠Implementation of the Brian's Brain cellular automaton
- Host: GitHub
- URL: https://github.com/neelkamath/brians-brain
- Owner: neelkamath
- License: mit
- Created: 2019-05-03T15:31:35.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-10-06T01:34:38.000Z (about 5 years ago)
- Last Synced: 2025-01-18T12:29:27.283Z (9 months ago)
- Topics: brians-brain, cellular-automaton, kotlin
- Language: Kotlin
- Homepage:
- Size: 55.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Brian's Brain
This is an implementation of the [Brian's Brain](https://en.wikipedia.org/wiki/Brian%27s_Brain) cellular automaton.
## Installation
1. Install [Kotlin 1.3](https://kotlinlang.org/docs/tutorials/command-line.html#downloading-the-compiler).
1. 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`
1. ` --args=" "`, where `` is `gradle.bat` if you're on Windows, and `./gradlew` on *nix, `` and `` are the number of rows and columns in the grid, and `` are the number of time steps to generate.The program will print `0`, `1`, and `2`s indicating "off", "dying", and "on" cells respectively.
## License
This project is under the [MIT License](LICENSE).