A terminal-based dinosaur runner game inspired by the Chrome offline game, implemented in Golang using the termbox-go library.
# Install with Homebrew
brew install jianongHe/tap/term-rexm
# Start Play
term-rex
# Install with Npm
npm -g term-rex
# Start Play
term-rex
# Install with Scoop
scoop bucket add jianongHe https://github.com/jianongHe/scoop-bucket.git
scoop install term-rex
Download the pre-built binary for your system from the releases page.
Or you can directly clone this repo and go run main.go
Key | Action |
---|---|
Space / ↑ | Jump |
↓ | Duck |
P | Pause/Resume |
R | Restart (after game over) |
Q / Esc | Quit |
brew uninstall term-rex
brew untap jianongHe/tap # Optional: remove the tap repository
scoop uninstall term-rex
scoop bucket rm jianongHe # Optional: remove the bucket
Contributions are welcome! Feel free to submit issues or pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.