// Command line options
// directory to output XBM files of each run (and call an external command to convert to PNGs?)
+// -save-dir STRING
// number of generations to simulate
+// -num-generations N
// delay time (speed of simulation)
+// -delay-usec N
// foreground and background color
+// ??? (strings of some sort, but I need to look up what X resources to interact with)
// display info overlay with CA number and start conditions?
+// -overlay
// which ruleset number to use? Or random? Or random from small set of hand-selected interesting examples?
+// Options (with precedence): -rule N
+// -rule-curated
+// -rule-random
// which starting population to use? Or random? Or one bit in middle? Or one bit on edge? (For random: Can I allow specifying a density like 25%, 50%, 75%?)
+// Options (with precedence): -population STRING (string is a comma separated list of cell IDs to populate, starting from 0)
+// -population-curated
+// -population-random
+// size of pixel square (e.g. 1x1, 2x2, 3x3, etc)
+// -pixel-size N
struct state {
/* Various X resources */