Skip to content

Latest commit

 

History

History
52 lines (35 loc) · 1.29 KB

README.md

File metadata and controls

52 lines (35 loc) · 1.29 KB

dino

Chrome's no-wifi dino game lazily ported to the terminal

terminal-gif

installation

If you're installing on a Mac, then you can use the binaries attached to the GitHub release. For other operating systems, you can install from source.

github release binaries

Install on macOS with the following commands:

curl -L https://github.com/arcticmatt/dino-brick/releases/download/0.1.1/dino-`uname -s`-`uname -m` -o dino
chmod +x dino
sudo mv dino /usr/local/bin/ 

install from source

This method requires stack. After installing stack, run the following commands:

git clone https://github.com/arcticmatt/dino-brick.git
cd dino-brick
stack install dino

usage

To play, use the dino command in your terminal.
To get help, run dino --help.
To see your high score, run dino --high-score.

game instructions

If you're too lazy to run dino --help, here's how you play:

  • W/S or ↑/↓ to jump/duck
  • p to pause
  • r to restart
  • q to quit

thanks to samtay whose brick tutorials greatly helped me! go check them out