summaryrefslogtreecommitdiff
path: root/addons/life/life.out
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-06 14:27:06 -0300
committerGabriel Schneider <[email protected]>2026-11-06 14:53:45 -0300
commit333cdea69956adda91f462980a18f5bac6548dda (patch)
tree641e3226c4ce0192bbdab3ad167248f120d9ab8b /addons/life/life.out
parent31706a1d1c13c26c69f67f107b72179019cbd255 (diff)
downloadpardes-333cdea69956adda91f462980a18f5bac6548dda.tar.gz
pardes-333cdea69956adda91f462980a18f5bac6548dda.zip
kinds #27, life: addons/life/life.zig is a second shipped Zig addon, Conway's Life in a pane written clean-room against src/kinds/addon.zig and the header alone (steps ten generations a second while focused, space pauses, r reseeds, hjkl and x edit, the prefix the generation and alive count, the body the board, dump and load the board), with its script and golden under addon-test and its own zig tests; the module's timing test and the dogfood that found Kind.step's stale tick clock
Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'addons/life/life.out')
-rw-r--r--addons/life/life.out321
1 files changed, 321 insertions, 0 deletions
diff --git a/addons/life/life.out b/addons/life/life.out
new file mode 100644
index 00000000..07ed2a49
--- /dev/null
+++ b/addons/life/life.out
@@ -0,0 +1,321 @@
+> seed 7
+> size 40 36
+window 38x16
+tag gen 0 alive 130
+|.#.#.......##......#...#..#.....
+|#.#......#......#......#.#......
+|.#.......##..##.....#...#...#..#
+|.....#..##.....#.#.#......#....#
+|#...#..........####....#.#......
+|..#.#.#....#.......#......###...
+|........##..#............#.....#
+|...#......##........#.......#...
+|...#.#.....#.###...#.###....#.##
+|##....#...#...#..#..#...##..#..#
+|..#..#.........#.........##...#.
+|.#..##.......#..#..#....#.#.....
+|..#..#...#.##....#.#..........##
+|..#...#..###..#...........#..#.#
+|....#......##.##..#.#.....#.#.#.
+|..#..##.#.......##.....#...#....
+> tick 100
+tag gen 0 alive 130
+|.#.#.......##......#...#..#.....
+|#.#......#......#......#.#......
+|.#.......##..##.....#...#...#..#
+|.....#..##.....#.#.#......#....#
+|#...#..........####....#.#......
+|..#.#.#....#.......#......###...
+|........##..#............#.....#
+|...#......##........#.......#...
+|...#.#.....#.###...#.###....#.##
+|##....#...#...#..#..#...##..#..#
+|..#..#.........#.........##...#.
+|.#..##.......#..#..#....#.#.....
+|..#..#...#.##....#.#..........##
+|..#...#..###..#...........#..#.#
+|....#......##.##..#.#.....#.#.#.
+|..#..##.#.......##.....#...#....
+> tick 100
+tag gen 1 alive 170
+|.#.#............##....##..#.....
+|#.#......#.###.........#.#......
+|.#........#...###.......##.....#
+|........###....#.#.#....##.....#
+|...##..........#.#.#.....#......
+|...#.#..........###.....####....
+|...#.....#..#.............#.#...
+|....#....###.##.....###......###
+|..#.#......#####...#.####..##.##
+|###.###......#..#...########....
+|..#.###.......###.........##...#
+|.######.....#...#.#.......#...##
+|#######..#.###....#......#....##
+|...#.#...#....##..##.......#.#.#
+|...#..##.#.#######........#.###.
+|..####.......#.#####......##....
+> tick 100
+tag gen 2 alive 126
+|.#...........###......######....
+|#.#.......#####..#....##.##.....
+|.#......#...#####......#..#....#
+|#........##......#........#.....
+|...##....#.....#...#............
+|..##............###.....#..#....
+|...#.....#.###...#...#....#.###.
+|....#....#.....#....#..........#
+|..#.#......#...#...#.......##...
+|#.#...#.........#...#.........#.
+|.......#.....##.#....####.....##
+|.......#...##.#.#........###....
+|..........######..#.......#..#..
+|.#.....#.#........##......##....
+|......#.#.#.#.............#..##.
+|.....##......#...........##.##..
+> key x x
+tag gen 2 alive 126 paused
+|.#...........###......######....
+|#.#.......#####..#....##.##.....
+|.#......#...#####......#..#....#
+|#........##......#........#.....
+|...##....#.....#...#............
+|..##............###.....#..#....
+|...#.....#.###...#...#....#.###.
+|....#....#.....#....#..........#
+|..#.#......#...#...#.......##...
+|#.#...#.........#...#.........#.
+|.......#.....##.#....####.....##
+|.......#...##.#.#........###....
+|..........######..#.......#..#..
+|.#.....#.#........##......##....
+|......#.#.#.#.............#..##.
+> tick 300
+tag gen 2 alive 126 paused
+|.#...........###......######....
+|#.#.......#####..#....##.##.....
+|.#......#...#####......#..#....#
+|#........##......#........#.....
+|...##....#.....#...#............
+|..##............###.....#..#....
+|...#.....#.###...#...#....#.###.
+|....#....#.....#....#..........#
+|..#.#......#...#...#.......##...
+|#.#...#.........#...#.........#.
+|.......#.....##.#....####.....##
+|.......#...##.#.#........###....
+|..........######..#.......#..#..
+|.#.....#.#........##......##....
+|......#.#.#.#.............#..##.
+> key lljx
+tag gen 2 alive 125 paused
+|.#...........###......######....
+|#.........#####..#....##.##.....
+|.#......#...#####......#..#....#
+|#........##......#........#.....
+|...##....#.....#...#............
+|..##............###.....#..#....
+|...#.....#.###...#...#....#.###.
+|....#....#.....#....#..........#
+|..#.#......#...#...#.......##...
+|#.#...#.........#...#.........#.
+|.......#.....##.#....####.....##
+|.......#...##.#.#........###....
+|..........######..#.......#..#..
+|.#.....#.#........##......##....
+|......#.#.#.#.............#..##.
+> key k
+tag gen 2 alive 125 paused
+|.#...........###......######....
+|#.........#####..#....##.##.....
+|.#......#...#####......#..#....#
+|#........##......#........#.....
+|...##....#.....#...#............
+|..##............###.....#..#....
+|...#.....#.###...#...#....#.###.
+|....#....#.....#....#..........#
+|..#.#......#...#...#.......##...
+|#.#...#.........#...#.........#.
+|.......#.....##.#....####.....##
+|.......#...##.#.#........###....
+|..........######..#.......#..#..
+|.#.....#.#........##......##....
+|......#.#.#.#.............#..##.
+> body
+=.#...........###......######....
+=#.........#####..#....##.##.....
+=.#......#...#####......#..#....#
+=#........##......#........#.....
+=...##....#.....#...#............
+=..##............###.....#..#....
+=...#.....#.###...#...#....#.###.
+=....#....#.....#....#..........#
+=..#.#......#...#...#.......##...
+=#.#...#.........#...#.........#.
+=.......#.....##.#....####.....##
+=.......#...##.#.#........###....
+=..........######..#.......#..#..
+=.#.....#.#........##......##....
+=......#.#.#.#.............#..##.
+=.....##......#...........##.##..
+> dump
+dump 536 bytes
+tag gen 2 alive 125 paused
+|.#...........###......######....
+|#.........#####..#....##.##.....
+|.#......#...#####......#..#....#
+|#........##......#........#.....
+|...##....#.....#...#............
+|..##............###.....#..#....
+|...#.....#.###...#...#....#.###.
+|....#....#.....#....#..........#
+|..#.#......#...#...#.......##...
+|#.#...#.........#...#.........#.
+|.......#.....##.#....####.....##
+|.......#...##.#.#........###....
+|..........######..#.......#..#..
+|.#.....#.#........##......##....
+|......#.#.#.#.............#..##.
+|.....##......#...........##.##..
+> key r
+tag gen 0 alive 130 paused
+|.#.#.......##......#...#..#.....
+|#.#......#......#......#.#......
+|.#.......##..##.....#...#...#..#
+|.....#..##.....#.#.#......#....#
+|#...#..........####....#.#......
+|..#.#.#....#.......#......###...
+|........##..#............#.....#
+|...#......##........#.......#...
+|...#.#.....#.###...#.###....#.##
+|##....#...#...#..#..#...##..#..#
+|..#..#.........#.........##...#.
+|.#..##.......#..#..#....#.#.....
+|..#..#...#.##....#.#..........##
+|..#...#..###..#...........#..#.#
+|....#......##.##..#.#.....#.#.#.
+> key h l
+tag gen 0 alive 130
+|.#.#.......##......#...#..#.....
+|#.#......#......#......#.#......
+|.#.......##..##.....#...#...#..#
+|.....#..##.....#.#.#......#....#
+|#...#..........####....#.#......
+|..#.#.#....#.......#......###...
+|........##..#............#.....#
+|...#......##........#.......#...
+|...#.#.....#.###...#.###....#.##
+|##....#...#...#..#..#...##..#..#
+|..#..#.........#.........##...#.
+|.#..##.......#..#..#....#.#.....
+|..#..#...#.##....#.#..........##
+|..#...#..###..#...........#..#.#
+|....#......##.##..#.#.....#.#.#.
+|..#..##.#.......##.....#...#....
+> tick 100
+tag gen 4 alive 112
+|.#....#....#................#...
+|#.#............#......#....#....
+|.#.......##.....#......#.......#
+|####....#.#.....#......#........
+|.###....#........#..........#...
+|.#........#.....#.#........#..#.
+|..#.#.....#.##.#..##.......#..#.
+|..#.##.....#....#.#.#.......#.##
+|#.#.#.........#.##.#..#......#.#
+|..#...#.......#....#.....#...#..
+|.............##.....#......#...#
+|.......#.#.#.........#.....#.###
+|.......##.#...##...#...#......#.
+|......#...#...##.#.#......##..#.
+|.....#...#...#............#....#
+|.....#.##...#...............#.#.
+> tick 100
+tag gen 5 alive 132
+|.#....##...................###..
+|#.#.......#.....................
+|...#.....##....##.....##.......#
+|...#....#.#.....##..............
+|...#............##..............
+|.#.......#.#....#.##.......###..
+|.##.##....#.#..##.#........##.#.
+|#.#.##.....####.#...#.......#...
+|#.#.#...........##.##.......##.#
+|##.#..........#...###.......#..#
+|.............##.....#.....#..#.#
+|.......#.##..#.#....#.......##.#
+|......###.##..###.#.#.....###...
+|......###.#..#.##.#.......##..##
+|.....#.###...##...........#..###
+|.....#.##...#..............#.#..
+> blur
+tag gen 5 alive 132
+|.#....##...................###..
+|#.#.......#.....................
+|...#.....##....##.....##.......#
+|...#....#.#.....##..............
+|...#............##..............
+|.#.......#.#....#.##.......###..
+|.##.##....#.#..##.#........##.#.
+|#.#.##.....####.#...#.......#...
+|#.#.#...........##.##.......##.#
+|##.#..........#...###.......#..#
+|.............##.....#.....#..#.#
+|.......#.##..#.#....#.......##.#
+|......###.##..###.#.#.....###...
+|......###.#..#.##.#.......##..##
+|.....#.###...##...........#..###
+|.....#.##...#..............#.#..
+> tick 300
+tag gen 5 alive 132
+|.#....##...................###..
+|#.#.......#.....................
+|...#.....##....##.....##.......#
+|...#....#.#.....##..............
+|...#............##..............
+|.#.......#.#....#.##.......###..
+|.##.##....#.#..##.#........##.#.
+|#.#.##.....####.#...#.......#...
+|#.#.#...........##.##.......##.#
+|##.#..........#...###.......#..#
+|.............##.....#.....#..#.#
+|.......#.##..#.#....#.......##.#
+|......###.##..###.#.#.....###...
+|......###.#..#.##.#.......##..##
+|.....#.###...##...........#..###
+|.....#.##...#..............#.#..
+> focus
+tag gen 5 alive 132
+|.#....##...................###..
+|#.#.......#.....................
+|...#.....##....##.....##.......#
+|...#....#.#.....##..............
+|...#............##..............
+|.#.......#.#....#.##.......###..
+|.##.##....#.#..##.#........##.#.
+|#.#.##.....####.#...#.......#...
+|#.#.#...........##.##.......##.#
+|##.#..........#...###.......#..#
+|.............##.....#.....#..#.#
+|.......#.##..#.#....#.......##.#
+|......###.##..###.#.#.....###...
+|......###.#..#.##.#.......##..##
+|.....#.###...##...........#..###
+|.....#.##...#..............#.#..
+> tick 200
+tag gen 6 alive 123
+|.#....###..................#.#..
+|###......##.................#...
+|..##......##...###..............
+|..###.....#.....................
+|..#......##....#............#...
+|.#.##.....##......##.......#.#..
+|#.#.##....#...#.#.#.............
+|#.#........####...#.#.........#.
+|..#.##......#.#.##...#.....####.
+|.###.........###.##..#.....##...
+|.............#.#....##.....#.#.#
+|......##.#####..#...##....#..#..
+|...........###............#....#
+|.....#....####..#..#.....#.....#
+|.....#......####..........#..#.#
+|.....#...#...#............##....