Skip to content

arcticmatt/dino-brick

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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