(48 lines)
1 .\" Manpage for conway.2 .\" Contact bruce@bruce-hill.com to correct errors or typos.3 .TH man 8 "13 June 2019" "1.0" "conway manual page"4 .SH NAME5 conway \- A command line Conway's Game of Life simulator6 .SH SYNOPSIS7 .B conway8 [\fI-B\fR birth rule]9 [\fI-S\fR survival rule]10 [\fI-A\fR alive color]11 [\fI-D\fR dead color]12 .SH DESCRIPTION13 \fBconway\fR is yet another Conway's Game of Life simulator for the terminal,14 written in pure C with no external libraries.16 .SH OPTIONS17 .B \-B color18 Set the birth rules for the simulation (default: "3")20 .B \-S color21 Set the survival rules for the simulation (default: "23")23 .B \-A color24 Set the hex RGB color of alive cells (3 or 6 hex digits).26 .B \-D color27 Set the hex RGB color of dead cells (3 or 6 hex digits).29 .SH RULESETS30 The default Conway's Game of Life ruleset is: a dead cell will come to life if31 it has exactly 3 living neighbors, and a living cell will survive if it has 232 or 3 living neighbors. This ruleset can be changed with the \fB-B\fR and33 \fB-S\fR flags. See \fIhttp://psoup.math.wisc.edu/mcell/rullex_life.html\fR for34 some interesting rulesets.36 .SH EXAMPLES37 .TP38 .B39 conway -S 45678 -B 340 A coral-like ruleset.42 .TP43 .B44 conway -A FB0 -D 22645 A yellow-on-blue color scheme.47 .SH AUTHOR48 Bruce Hill (bruce@bruce-hill.com)