You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Phyks d895e80791 Updated 10 years ago Updated 10 years ago
Rules Initial commit 10 years ago
main.c Correction of an endwin forgotten + little error in arguments handling 10 years ago

Conway Game of Life

An implementation of the famous Game Of Life from Conway ( ) in C.

It uses ncurses to display a randomly generated view that follows the rules of the Game Of Life.


Just compile it using gcc with -ncurses argument :

gcc -ncurses main.c

Then, you can launch it with an argument giving the initial percentage of alive cells :

./a.out density (where density is in [|0,100|])



I don't give a damn to anything you can do using this code. It would just be nice to
quote where the original code comes from.


Phyks ( wrote this file. As long as you retain this notice you
 can do whatever you want with this stuff (and you can also do whatever you want
 with this stuff without retaining it, but that's not cool... :/ ). If we meet some 
 day, and you think this stuff is worth it, you can buy me a <del>beer</del> soda 
 in return.