Skip to content

Commit

Permalink
docs(readme): Add demo video
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Jul 13, 2024
1 parent c8d604b commit 496e778
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
[![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!

<img src="https://github.com/user-attachments/assets/c5fdf882-af73-4f3e-90cb-e53fd2dcbf35" alt="demo" width="720">

## Installation

Expand Down
63 changes: 63 additions & 0 deletions assets/demo.tape
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
Output cli-of-life.gif

Set TypingSpeed 20ms

Set Theme "Builtin Dark"
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

0 comments on commit 496e778

Please sign in to comment.