https://github.com/j3rn/life
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/j3rn/life
- Owner: J3RN
- Created: 2016-01-20T02:25:29.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-10-28T23:03:48.000Z (almost 9 years ago)
- Last Synced: 2025-04-01T14:26:07.427Z (over 1 year ago)
- Language: C
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Life
This is, really, my idea of how one would go about creating "life" on a computer. This program does one thing: It produces slightly modified versions of itself and starts them. They could be better, they could be worse, they could issue `F00F C7C8`. It's all undefined. Basically a forkbomb.
## Building
Simply run:
```
make
```
## Running
**DO NOT RUN ON HARDWARE YOU CARE ABOUT.** This is why I have a Raspberry Pi. Before you ruin your computer, just go and pick up a Pi.
Once you've run `make`, you'll have an executable called `life`. Run it.
```
./life
```
I recommend using Tmux with this program running in one pane and `top` in the other. That way, you can watch resource consumption (which is really the best way to observe the "lifeforms").
## Contributing
If you think this blasphemy is wonderful and want to contribute, you can. That said, it is supposed to remain as small and simple as possible, so please try to avoid adding features.
Steps to contribute:
1. Fork this repository
2. Create a branch on your fork for your work
3. Do your work on that branch
4. Push it to GitHub
5. Send me a pull-request
6. Profit?