summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Migrate cgol to my newer and better build system.HEADmasterP. J. McDermott2012-02-104-0/+383
| | | | | | | This build system behaves more like one generated by GNU Autoconf and Automake -- it has a configure script to allow the user to set installation paths and it obeys the DESTDIR macro in the makefile's 'install' target.
* Obey the generations limit.cgol-0.1.1cgol-0.1P. J. McDermott2011-12-181-3/+10
|
* Print usage information to stderr with line break.P. J. McDermott2011-12-181-2/+2
|
* Fix an uneventful memory leak.P. J. McDermott2011-12-141-0/+1
| | | | | | | | | | | | | Curses libraries don't seem to free stdscr or the terminal screen created when initscr() calls newterm(). We can free stdscr ourselves when leaving Curses, but the terminal screen address isn't even saved in ncurses for example. This is apparently a bug in the X/Open Curses specification. See also: <http://pubs.opengroup.org/onlinepubs/007908799/xcurses/initscr.html> <http://pubs.opengroup.org/onlinepubs/007908799/xcurses/endwin.html> ncurses/base/lib_initscr.c:87 in ncurses 5.8+20110307
* Fix a compiler warning and add TODO tags.cgol-0.1.0P. J. McDermott2011-12-131-1/+2
|
* Fix tick corruption that resulted in strangeness.P. J. McDermott2011-12-131-12/+17
|
* Add a rudimentary main event loop.P. J. McDermott2011-12-131-2/+9
| | | | At least one of the rules in tick() is wrong...
* Write tick() and friends.P. J. McDermott2011-12-131-0/+61
| | | | | | | | Functions written: * void tick() * int count_live_neighbors(int i, int j) * bool get_cell(int i, int j) * void set_cell(int i, int j, bool s)
* Separate cell printing into a new function.P. J. McDermott2011-12-131-2/+9
|
* Cap the grid size and print the initial grid.P. J. McDermott2011-12-131-7/+22
|
* Use global variables and generate the seed grid.P. J. McDermott2011-12-131-3/+42
|
* Add forgotten 'n' option case to switch construct.P. J. McDermott2011-12-121-1/+4
|
* Add license file.P. J. McDermott2011-12-121-0/+674
|
* Initial commit; it builds, runs, and does nothing!P. J. McDermott2011-12-123-0/+186