summaryrefslogtreecommitdiff
path: root/addons/life/life.script
diff options
context:
space:
mode:
Diffstat (limited to 'addons/life/life.script')
-rw-r--r--addons/life/life.script24
1 files changed, 24 insertions, 0 deletions
diff --git a/addons/life/life.script b/addons/life/life.script
new file mode 100644
index 00000000..fba9cd62
--- /dev/null
+++ b/addons/life/life.script
@@ -0,0 +1,24 @@
+# pardes --addon-test life.so addons/life/life.script | diff addons/life/life.out -
+seed 7
+size 40 36
+tick 100
+tick 100
+tick 100
+# x, Space (pause), x: the cell under the cursor toggled twice
+key x x
+tick 300
+key lljx
+key k
+body
+dump
+key r
+# h, Space (resume; a line's ends are trimmed), l. The tick after a key is
+# handed the time of the last tick, from before the paused 300 ms, so the
+# next tick 100 catches up four generations.
+key h l
+tick 100
+tick 100
+blur
+tick 300
+focus
+tick 200