Chrome's no-wifi dino game lazily ported to the terminal
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.
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/ 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 dinoTo play, use the dino command in your terminal.
To get help, run dino --help.
To see your high score, run dino --high-score.
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
