Skip to content

Commit

Permalink
docs(readme): Update demo video
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Aug 12, 2024
1 parent 899f009 commit fb1cd4d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 25 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ Play Conway's Game of Life in your terminal!

<p align="center">
<picture>
<source media="(prefers-color-scheme: light)" srcset="https://github.com/user-attachments/assets/dfda81d9-2211-4ee9-ae10-201716e5a218">
<img width="720" alt="cli-of-life demo" src="https://github.com/user-attachments/assets/c5fdf882-af73-4f3e-90cb-e53fd2dcbf35">
<source media="(prefers-color-scheme: light)" srcset="https://github.com/user-attachments/assets/e4b018cd-bcc8-4439-9c99-35d4114a9854">
<img width="720" alt="cli-of-life demo" src="https://github.com/user-attachments/assets/999139eb-6ec7-4b47-bc37-076d15202a31">
</picture>
</p>

Expand Down
34 changes: 11 additions & 23 deletions assets/demo.tape
Original file line number Diff line number Diff line change
Expand Up @@ -13,53 +13,41 @@ Set WindowBar Colorful
Set BorderRadius 10

Hide
Type@0 'PATH="$PWD:$PATH"; clear'
Type@0 'cli-of-life() ( ./cli-of-life "$@" 2>/dev/null ); clear'
Enter
Sleep 100ms
Show
Sleep 50ms

Type "cli-of-life --file=patterns/gosperglidergun.rle"
Type "cli-of-life --play https://conwaylife.com/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"
Type "cli-of-life --play https://conwaylife.com/patterns/3blocktwinbeesshuttle.rle"
Sleep 400ms
Enter
Sleep 200ms
Type " "
Sleep 4s
Sleep 3s
Type "q"
Sleep 250ms

Type "cli-of-life --file=patterns/biblockfuse.rle"
Type "cli-of-life --play https://conwaylife.com/patterns/breeder1.rle"
Sleep 400ms
Enter
Sleep 200ms
Type " "
Type@200ms "-->wddd-->wddd-->>>--wddddddd"
Sleep 3s
Type "<<<<<"
Type@250ms "++++++++"
Sleep 1s
Type "q"
Sleep 250ms

Type "cli-of-life --file=patterns/piheptomino.rle"
Type "cli-of-life --play https://conwaylife.com/patterns/gabrielsp138.rle"
Sleep 400ms
Enter
Sleep 200ms
Type " "
Sleep 6.5s
Sleep 3s
Type "q"
Sleep 250ms

0 comments on commit fb1cd4d

Please sign in to comment.