Go Dino Run is a terminal-based implementation of the famous Chrome Dinosaur Game, written in Go.
Game demo, played on terminal, recorded using asciinema |
You can install Go Dino Run using go install
directly from GitHub or from a
cloned local repository.
go install github.com/ahmad-alkadri/go-dinorun@latest
- Clone the repository
git clone https://github.com/ahmad-alkadri/go-dinorun.git
- Navigate to the project directory
cd go-dinorun
- Install the game
go install
To uninstall Go Dino Run, you can remove the installed binary by simply:
rm -f $(which go-dinorun)
Go Dino Run is similar to the Chrome Dinosaur Game. The T-Rex will keep running, and you need to avoid the cactuses and pteranodons by jumping over or ducking below them.
- Open a terminal
- Run
go-dinorun
(make sure the installation's successful) - Press the
space
button on your keyboard to jump.
Have fun and see how far you can run without hitting the obstacles!
Adding pteronodons (flying dinosaur)- Adding local database to save some highest scores
Please do not hesitate to raise any issues if you have it, giving me suggestions, or even contribute.
Enjoy the game!