From 4cf34b896642185fa4ef8272c2a66e013506cf50 Mon Sep 17 00:00:00 2001 From: Gabe Cook Date: Sat, 13 Jul 2024 15:42:21 -0500 Subject: [PATCH] docs(readme): Add demo video --- README.md | 9 ++++++- assets/demo.tape | 65 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+), 1 deletion(-) create mode 100644 assets/demo.tape diff --git a/README.md b/README.md index 9e9f206..e5751f4 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,14 @@ [![Build](https://github.com/gabe565/cli-of-life/actions/workflows/build.yaml/badge.svg)](https://github.com/gabe565/cli-of-life/actions/workflows/build.yaml) [![Go Report Card](https://goreportcard.com/badge/github.com/gabe565/cli-of-life)](https://goreportcard.com/report/github.com/gabe565/cli-of-life) -Run Conway's Game of Life in your terminal! +Play Conway's Game of Life in your terminal! + +

+ + + cli-of-life demo + +

## Installation diff --git a/assets/demo.tape b/assets/demo.tape new file mode 100644 index 0000000..474e15d --- /dev/null +++ b/assets/demo.tape @@ -0,0 +1,65 @@ +Output cli-of-life.gif + +Set TypingSpeed 20ms + +Set Theme "Builtin Dark" +# Set Theme "Builtin Light" +# Set MarginFill "transparent" +Set FontSize 14 +Set Width 970 +Set Height 720 +Set Padding 30 +Set WindowBar Colorful +Set BorderRadius 10 + +Hide +Type@0 'PATH="$PWD:$PATH"; clear' +Enter +Sleep 100ms +Show +Sleep 50ms + +Type "cli-of-life --file=patterns/gosperglidergun.rle" +Sleep 400ms +Enter +Sleep 200ms +Type "w " +Sleep 5s +Type "q" +Sleep 250ms + +Type "cli-of-life --file=patterns/gabrielsp138.rle" +Sleep 400ms +Enter +Sleep 200ms +Type " " +Sleep 4s +Type "q" +Sleep 250ms + +Type "cli-of-life --file=patterns/3blocktwinbeesshuttle.rle" +Sleep 400ms +Enter +Sleep 200ms +Type " " +Sleep 4s +Type "q" +Sleep 250ms + +Type "cli-of-life --file=patterns/biblockfuse.rle" +Sleep 400ms +Enter +Sleep 200ms +Type " " +Sleep 3s +Type "q" +Sleep 250ms + +Type "cli-of-life --file=patterns/piheptomino.rle" +Sleep 400ms +Enter +Sleep 200ms +Type " " +Sleep 6.5s +Type "q" +Sleep 250ms