From 8b1b73c90e0f32b255cf1a669a2183d99e18033d Mon Sep 17 00:00:00 2001 From: Aaron Taylor Date: Sun, 9 May 2021 04:26:16 -0700 Subject: [PATCH] Added README for ch1-breeding-numbers experiment. --- chapter-1-experiments/README.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 chapter-1-experiments/README.md diff --git a/chapter-1-experiments/README.md b/chapter-1-experiments/README.md new file mode 100644 index 0000000..ce4c6ec --- /dev/null +++ b/chapter-1-experiments/README.md @@ -0,0 +1,31 @@ +# Overview # + +Program to breed N generations of surreal numbers and arrange them in order. + +# Status # + +Fully functional and tested on Debian 10.9 with Go 1.16.3. + +# Usage # + +Sample output is shown below for four generations. The vertical axis plots the +numberline from smallest to largest and the horizontal axis plots generation. + + % ./ch1-breeding-numbers -generations 4 + . . . aas = <---|aag> + . . aag = <---|aac> + . . . aal = + . aac = <---|aaa> + . . . aam = + . . aad = + . . . aan = + aaa = <---|---> + . . . aao = + . . aae = + . . . aap = + . aab = + . . . aaq = + . . aaj = + . . . abd = + After 4 generations, the universe contains 15 numbers. + If output looks poor, ensure tabstop is eight spaces and that output doesn't wrap. -- 2.20.1